Skip to content

Commit

Permalink
kk attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
kkerti committed Jan 12, 2025
1 parent fae910c commit 1b8a8db
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
if: ${{ inputs.versionOverride != '' }}
run: npm version ${{ inputs.versionOverride }} --no-git-tag-version

- name: Build
run: npm run ${{ inputs.exportScript }}
- name: Build with auto retry on fail (macos sporadically fails)
uses: nick-fields/retry@v3.0.0
env:
# gh repo token
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -62,6 +62,11 @@ jobs:

# Branch name
VITE_BRANCH_NAME: ${{ github.ref_name }}
with:
retry_on: error
timeout_minutes: 15
max_attempts: 3
command: npm run ${{ inputs.exportScript }}

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 1b8a8db

Please sign in to comment.