Skip to content

Commit ebd934b

Browse files
committed
Workflows adjusted for artifact upload.
1 parent 9bc4ab8 commit ebd934b

File tree

2 files changed

+24
-27
lines changed

2 files changed

+24
-27
lines changed

.github/workflows/main.yml

+24-4
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,52 @@ jobs:
1111
build-linux:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Build
1616
run: cargo build --release --verbose
1717
- name: Run tests
1818
run: cargo test --verbose
19+
- uses: actions/upload-artifact@v4
20+
with:
21+
name: deoptimizer-linux-x86_64
22+
path: ./target/release/deoptimizer
23+
retention-days: 5
1924
build-windows:
2025
runs-on: windows-latest
2126
steps:
22-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2328
- name: Build
2429
run: cargo build --release --verbose
2530
- name: Run tests
2631
run: cargo test --verbose
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: deoptimizer-windows-x86_64
35+
path: ./target/release/deoptimizer
36+
retention-days: 5
2737
build-macos-x86:
2838
runs-on: macos-13
2939
steps:
30-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
3141
- name: Build
3242
run: cargo build --release --verbose
3343
- name: Run tests
3444
run: cargo test --verbose
45+
- uses: actions/upload-artifact@v4
46+
with:
47+
name: deoptimizer-macos-x86_64
48+
path: ./target/release/deoptimizer
49+
retention-days: 5
3550
build-macos-arm64:
3651
runs-on: macos-14
3752
steps:
38-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
3954
- name: Build
4055
run: cargo build --release --verbose
4156
- name: Run tests
4257
run: cargo test --verbose
58+
- uses: actions/upload-artifact@v4
59+
with:
60+
name: deoptimizer-macos-aarch64
61+
path: ./target/release/deoptimizer
62+
retention-days: 5

.github/workflows/on_demand_build.yml

-23
This file was deleted.

0 commit comments

Comments
 (0)