Skip to content

Commit bc2f3c8

Browse files
committed
Also run release image
1 parent 9839d5e commit bc2f3c8

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release
22

33
on:
4+
pull_request:
45
push:
56
tags:
67
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
@@ -15,22 +16,19 @@ env:
1516
jobs:
1617
checks:
1718
runs-on: ${{ matrix.os }}
18-
1919
strategy:
2020
fail-fast: false
2121
matrix:
2222
os:
2323
- ubuntu-latest
24-
2524
toolchain:
26-
- 1.82.0
25+
- 1.88.0
2726

2827
steps:
29-
- uses: actions/checkout@v2
30-
- uses: extractions/setup-just@v1
28+
- uses: actions/checkout@4
29+
- uses: taiki-e/install-action@v2
3130
with:
32-
just-version: 1.10.0
33-
- uses: cargo-bins/cargo-binstall@main
31+
tool: just@1.40.0,cross@0.2.5
3432
- uses: Swatinem/rust-cache@v2
3533
with:
3634
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ matrix.toolchain }}
@@ -41,19 +39,18 @@ jobs:
4139
run: |
4240
sudo apt-get install -y musl-tools
4341
rustup target add x86_64-unknown-linux-musl
44-
cargo binstall cross --no-confirm
4542
- name: Build Musl binary
4643
run: just build-release-binary
4744
- name: Build other binaries
4845
run: just binaries true
4946
- name: Generate artifacts
5047
run: just cp-binaries
51-
- uses: actions/upload-artifact@v3
48+
- uses: actions/upload-artifact@v4
5249
with:
5350
name: binaries
5451
path: artifacts/*
5552
- name: Release
56-
uses: softprops/action-gh-release@v1
53+
uses: softprops/action-gh-release@v2
5754
if: startsWith(github.ref, 'refs/tags/')
5855
with:
5956
files: artifacts/*

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- stable
3131
- nightly
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
3434
- uses: taiki-e/install-action@v2
3535
with:
3636
tool: just@1.40.0

0 commit comments

Comments
 (0)