Skip to content

Commit a80b673

Browse files
committed
update upload-artifact
1 parent 44486b2 commit a80b673

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Upload artifacts
5353
if: env.MANUAL != '1'
54-
uses: actions/upload-artifact@v1
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: artifacts
5757
path: artifacts
@@ -82,7 +82,7 @@ jobs:
8282
os: macos-14
8383
target: aarch64-apple-darwin
8484
- build: macos-x86
85-
os: macos-13
85+
os: macos-13
8686
target: x86_64-apple-darwin
8787
- build: windows
8888
os: windows-2019
@@ -129,7 +129,7 @@ jobs:
129129

130130
- name: Get release download URL
131131
if: env.MANUAL != '1'
132-
uses: actions/download-artifact@v4.1.7
132+
uses: actions/download-artifact@v4
133133
with:
134134
name: artifacts
135135
path: artifacts
@@ -161,13 +161,13 @@ jobs:
161161
./build_pgo.sh
162162
env:
163163
HOME: ${{ github.workspace }}
164-
164+
165165
- name: Build release binary (linux MUSL)
166-
if: matrix.build == 'linux-static'
166+
if: matrix.build == 'linux-static'
167167
run: cargo build --target ${{ matrix.target }} --release
168168

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

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

0 commit comments

Comments
 (0)