Skip to content

Commit

Permalink
only compile and upload current target (#303)
Browse files Browse the repository at this point in the history
Signed-off-by: Cocoa <i@uwucocoa.moe>
  • Loading branch information
cocoa-xu authored Oct 10, 2024
1 parent cdc0e6c commit 0c6395c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/linux-precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ jobs:
mix elixir_make.precompile
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && matrix.arch == 'x86_64'
with:
files: |
cache/*.tar.gz
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && matrix.arch != 'x86_64'
with:
files: |
cache/*${{ matrix.arch }}*.tar.gz
1 change: 1 addition & 0 deletions .github/workflows/macos-precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: macos-14
env:
MIX_ENV: prod
CC_PRECOMPILER_PRECOMPILE_ONLY_LOCAL: "true"
strategy:
matrix:
arch:
Expand Down

0 comments on commit 0c6395c

Please sign in to comment.