Skip to content

Commit 051d413

Browse files
committed
fix: release action
1 parent 2180e0f commit 051d413

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,29 @@ jobs:
2020
nif:
2121
- 2.15
2222
job:
23-
- { target: aarch64-apple-darwin, os: macos-11 }
24-
- { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, use-cross: true }
25-
- { target: aarch64-unknown-linux-musl, os: ubuntu-20.04, rustflags: "-C target-feature=-crt-static", use-cross: true }
26-
- { target: x86_64-apple-darwin, os: macos-11 }
27-
- { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma" }
28-
- { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, rustflags: "-C target-feature=-crt-static", use-cross: true }
23+
- { target: aarch64-apple-darwin, os: macos-15 }
24+
- { target: aarch64-unknown-linux-gnu, os: ubuntu-24.04-arm }
25+
- {
26+
target: aarch64-unknown-linux-musl,
27+
os: ubuntu-24.04,
28+
rustflags: "-C target-feature=-crt-static",
29+
use-cross: true,
30+
}
31+
- { target: x86_64-apple-darwin, os: macos-13 }
32+
- {
33+
target: x86_64-unknown-linux-gnu,
34+
os: ubuntu-24.04,
35+
rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma",
36+
}
37+
- {
38+
target: x86_64-unknown-linux-musl,
39+
os: ubuntu-24.04,
40+
rustflags: "-C target-feature=-crt-static",
41+
use-cross: true,
42+
}
2943
steps:
3044
- name: Checkout Repository
31-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
3246

3347
- name: Extract Version
3448
run: |
@@ -52,7 +66,7 @@ jobs:
5266
5367
- name: Build NIFs
5468
id: build-crate
55-
uses: philss/rustler-precompiled-action@v1.1.0
69+
uses: philss/rustler-precompiled-action@v1.1.4
5670
with:
5771
project-name: sql_parser
5872
project-version: ${{ env.VERSION }}
@@ -65,14 +79,14 @@ jobs:
6579
variant: ${{ matrix.job.variant }}
6680

6781
- name: Upload Artifacts
68-
uses: actions/upload-artifact@v3
82+
uses: actions/upload-artifact@v4
6983
with:
7084
name: ${{ steps.build-crate.outputs.file-name }}
7185
path: ${{ steps.build-crate.outputs.file-path }}
7286

7387
- name: Publish Archives
7488
if: startsWith(github.ref, 'refs/tags/')
75-
uses: softprops/action-gh-release@v1
89+
uses: softprops/action-gh-release@v2
7690
with:
7791
files: |
7892
${{ steps.build-crate.outputs.file-path }}

0 commit comments

Comments
 (0)