Skip to content

Commit

Permalink
Merge pull request #610 from jewlexx/disable-cache
Browse files Browse the repository at this point in the history
actions: disable cache for release builds
  • Loading branch information
jewlexx authored Apr 8, 2024
2 parents 12300af + 3cbaeaa commit a6e2d81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2.7.3
# Disable cache for release builds
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
- uses: extractions/setup-just@v2

- name: Install latest stable
Expand All @@ -102,15 +104,15 @@ jobs:

- name: Upload & Publish
uses: softprops/action-gh-release@v2.0.4
if: startsWith(github.ref, 'refs/tags/')
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: |
release/*.exe
release/*.exe.sha256
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
if: startsWith(github.ref, 'refs/tags/')
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
update_release_body: true
vt_api_key: ${{ secrets.VT_API_KEY }}
Expand Down

0 comments on commit a6e2d81

Please sign in to comment.