Skip to content

Commit

Permalink
add caches to release
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Jul 3, 2024
1 parent 2359cc5 commit 25f5e31
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ jobs:
name: Package
if-no-files-found: error
overwrite: true
retention-days: 90
path: |
${{ github.workspace }}/${{ steps.zipfn.outputs.FILEPATH }}
${{ github.workspace }}/${{ steps.zipfn.outputs.FILEPATH }}.sha512
Expand Down Expand Up @@ -205,3 +204,15 @@ jobs:
tag: build-${{ github.ref_name }}
overwrite: true
file_glob: true
make_latest: false

- name: "Upload cache to release"
uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release' || github.event_name == 'schedule'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: cache/*
tag: build-${{ github.ref_name }}
overwrite: true
file_glob: true
make_latest: false

0 comments on commit 25f5e31

Please sign in to comment.