Skip to content

Commit

Permalink
update upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
omerbenamram committed Nov 3, 2024
1 parent 44486b2 commit a80b673
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Upload artifacts
if: env.MANUAL != '1'
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: artifacts
path: artifacts
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
os: macos-14
target: aarch64-apple-darwin
- build: macos-x86
os: macos-13
os: macos-13
target: x86_64-apple-darwin
- build: windows
os: windows-2019
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:

- name: Get release download URL
if: env.MANUAL != '1'
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: artifacts
path: artifacts
Expand Down Expand Up @@ -161,13 +161,13 @@ jobs:
./build_pgo.sh
env:
HOME: ${{ github.workspace }}

- name: Build release binary (linux MUSL)
if: matrix.build == 'linux-static'
if: matrix.build == 'linux-static'
run: cargo build --target ${{ matrix.target }} --release

- name: Build release binary (Windows)
if: matrix.build == 'windows'
if: matrix.build == 'windows'
run: cargo build --target ${{ matrix.target }} --release --features fast-alloc

- name: Build release binary (Linux AARCH64)
Expand Down Expand Up @@ -195,4 +195,4 @@ jobs:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: ${{ env.ASSET }}
asset_name: ${{ env.ASSET_NAME }}
asset_content_type: application/octet-stream
asset_content_type: application/octet-stream

0 comments on commit a80b673

Please sign in to comment.