Skip to content

Commit

Permalink
switch to reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-symbiotic authored Jan 20, 2025
1 parent 8aaac2e commit c2ae70c
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/full-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,6 @@ on:
push:
branches:
- main

jobs:
generate:
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: npm install tsx @actions/core @actions/github

- name: Generate
run: npx tsx .github/workflows/scripts/extract-metadata.ts

- name: Release latest full info
uses: softprops/action-gh-release@v1
with:
name: latest
tag_name: latest
files: full-info.json
fail_on_unmatched_files: true
# Sleep to be sure release is updated in GH CDN before triggering a webhook
- name: Sleep for 30 seconds
run: sleep 30s
uses: symbioticfi/metadata-validation-scripts/.github/workflows/full-info.yml@main

0 comments on commit c2ae70c

Please sign in to comment.