Skip to content

Commit

Permalink
chore: retry build-tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 27, 2024
1 parent 7df466e commit 1acf037
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{matrix.runs-on}}
timeout-minutes: 45
env:
#RUSTC_WRAPPER: sccache
RUSTC_WRAPPER: sccache
SCCACHE_ENDPOINT: minio.jdx.dev
SCCACHE_BUCKET: sccache
SCCACHE_REGION: auto
Expand Down Expand Up @@ -98,7 +98,12 @@ jobs:
run: rustup target add ${{matrix.target}}
- if: matrix.runs-on == 'ubuntu-latest'
uses: taiki-e/install-action@cross
- run: scripts/build-tarball.sh ${{matrix.target}}
- name: build-tarball
uses: nick-fields/retry@v3
with:
timeout_minutes: 20
max_attempts: 3
command: scripts/build-tarball.sh ${{matrix.target}}
- uses: actions/upload-artifact@v4
with:
name: tarball-${{matrix.target}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
MISE_TRUSTED_CONFIG_PATHS: ${{ github.workspace }}
MISE_EXPERIMENTAL: 1
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
#RUSTC_WRAPPER: sccache
SCCACHE_ENDPOINT: minio.jdx.dev
SCCACHE_BUCKET: sccache
SCCACHE_REGION: auto
Expand Down

0 comments on commit 1acf037

Please sign in to comment.