Skip to content

Commit

Permalink
all-repos: update actions/upload-artifact to v4 (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuarli committed Jul 31, 2024
1 parent 6e841db commit d0e8717
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Rename Binary
run: mv target/*/release/sentry-cli sentry-cli-Linux-${{ matrix.arch }}

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: sentry-cli-Linux-${{ matrix.arch }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Rename Binary
run: mv target/${{ matrix.target }}/release/sentry-cli sentry-cli-Darwin-${{ matrix.arch }}

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: sentry-cli-Darwin-${{ matrix.arch }}
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Link universal binary
run: lipo -create -output sentry-cli-Darwin-universal sentry-cli-Darwin-x86_64 sentry-cli-Darwin-arm64

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: sentry-cli-Darwin-universal
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Rename Binary
run: mv target/release/sentry-cli.exe sentry-cli-Windows-${{ matrix.arch }}.exe

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: sentry-cli-Windows-${{ matrix.arch }}.exe
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
- run: npm pack

- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: '*.tgz'
Expand All @@ -182,7 +182,7 @@ jobs:
with:
python-version: '3.11'
- run: python3 -m pip install build && python3 -m build
- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}-python-base
path: dist/*
Expand All @@ -205,7 +205,7 @@ jobs:
name: ${{ github.sha }}-python-base
path: python-base
- run: scripts/wheels --binaries binaries --base python-base --dest dist
- uses: actions/upload-artifact@v3.1.1
- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: dist/*
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
cd -
done
- name: Upload packaged npm binary distributions
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: npm-binary-distributions/*/*.tgz

0 comments on commit d0e8717

Please sign in to comment.