Skip to content

Commit

Permalink
fix disable arg running incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Nov 25, 2024
1 parent 47e3931 commit 7f860b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
run: |
FEDORA_VERSION="${{ matrix.fedora_version }}"
ARCH="${{ matrix.arch }}"
sudo podman run --rm -v $(pwd):/workspace \
--env CCACHE_DISABLE=${{ startsWith(github.ref, 'refs/tags/') && 'true' || '' }} \
DISABLE_ARG="${{ startsWith(github.ref, 'refs/tags/') && '--env CCACHE_DISABLE=true' || '' }}"
sudo podman run --rm -v $(pwd):/workspace $DISABLE_ARG \
--env CCACHE_DIR=/workspace/ccache \
--env CCACHE_MAXSIZE=5G \
--env CCACHE_COMPRESS=1 \
Expand Down

0 comments on commit 7f860b5

Please sign in to comment.