Skip to content

Commit

Permalink
feat: upload and download files between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Dec 19, 2024
1 parent b21abf7 commit 4f706cf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/updatePermitInfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,27 @@ jobs:
fi
done
- name: Upload File
uses: actions/upload-artifact@v4
with:
name: ${{ format('PermitInfo.{0}.json', matrix.chainId) }}
path: src/public/${{ format('PermitInfo.{0}.json', matrix.chainId) }}
retention-days: 1

commit-changes:
needs: update-permit-info
if: success()
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Download all
uses: actions/download-artifact@v4
with:
path: src/public/
merge-multiple: true

- name: Check for changes
id: git-check
run: |
Expand Down

0 comments on commit 4f706cf

Please sign in to comment.