Skip to content

Commit b04344a

Browse files
committed
fix ci release script
1 parent bebd886 commit b04344a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,16 @@ jobs:
1919
os: [macos-latest, windows-latest, ubuntu-latest]
2020
include:
2121
- os: windows-latest
22-
binary_path: target/superoptimized/sqlpage.exe
22+
binary_extension: .exe
2323
target: x86_64-pc-windows-msvc
2424
- os: macos-latest
25-
binary_path: target/superoptimized/sqlpage
2625
target: x86_64-apple-darwin
2726
- os: ubuntu-latest
28-
binary_path: target/superoptimized/sqlpage
2927
target: x86_64-unknown-linux-musl
3028
steps:
3129
- uses: actions/checkout@v4
3230
- name: Install Rust toolchain
33-
run: |
34-
rustup toolchain install --target ${{ matrix.target }} --profile minimal stable
31+
run: rustup toolchain install --target ${{ matrix.target }} --profile minimal stable
3532
- name: Install musl toolchain
3633
if: matrix.os == 'ubuntu-latest'
3734
run: sudo apt-get install -y musl-tools
@@ -42,7 +39,8 @@ jobs:
4239
- uses: actions/upload-artifact@v4
4340
with:
4441
name: sqlpage ${{ matrix.os }}
45-
path: ${{ matrix.binary_path }}
42+
path: target/${{ matrix.target }}/superoptimized/sqlpage${{ matrix.binary_extension }}
43+
if-no-files-found: error
4644
build-aws:
4745
name: Build AWS Lambda Serverless zip image
4846
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)