Skip to content

Commit

Permalink
Update test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored Feb 14, 2024
1 parent 74b9a00 commit 9510238
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ jobs:
name: create_release
env:
GH_TOKEN: ${{ secrets.NFLVERSE_GH_TOKEN }}
outputs:
releases: ${{ steps.step1.outputs }}
steps:
- name: Create Release with gh
run: gh release create archive-test-$(date '+%Y-%m-%d') -R nflverse/nflverse-data-archives
# - name: Create Release with gh
# run: gh release create archive-test-$(date '+%Y-%m-%d') -R nflverse/nflverse-data-archives
- id: query_releases
run: gh release list -R nflverse/nflverse-data --exclude-drafts --json tagName --jq '[.[].tagName]' > ${{ GITHUB_OUTPUT}}
do_things:
runs-on: ubuntu-latest
needs: create_release
name: ${{ matrix.release }}
strategy:
matrix:
release: ${{ fromJson(needs.create_release.outputs.releases) }}
steps:
- env:
RELEASE_TAG: ${{ matrix.release }}
run: echo "$RELEASE_TAG"

0 comments on commit 9510238

Please sign in to comment.