Skip to content

Commit c855691

Browse files
committed
Update githubactions workflows
1 parent 8c48da8 commit c855691

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/release_linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
environment: [
12-
"ubuntu:23.04",
12+
"ubuntu:24.04",
1313
"ubuntu:22.04",
1414
"ubuntu:20.04",
1515
"debian:12",
@@ -216,11 +216,14 @@ jobs:
216216
bash ./rustup.sh -y
217217
fi
218218
219+
OUTPUT=$GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup
220+
mkdir -p $OUTPUT
221+
219222
cargo install cargo-rpm
220223
cargo rpm init
221224
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo build --release
222225
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell-$LIBYUBIHSM_VERSION/build/lib cargo rpm build
223-
cp target/release/rpmbuild/RPMS/x86_64/*.rpm $GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup/
226+
cp target/release/rpmbuild/RPMS/x86_64/*.rpm $OUTPUT/
224227
225228
- name: upload artifacts
226229
uses: actions/upload-artifact@v3

.github/workflows/release_macos.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ jobs:
3737
cd ..
3838
git clone https://github.com/Yubico/yubihsm-shell.git
3939
cd yubihsm-shell
40-
mkdir build
41-
cd build
42-
cmake .. -DBUILD_ONLY_LIB=ON
43-
make
40+
mkdir build
41+
cd build
42+
cmake .. -DBUILD_ONLY_LIB=ON
43+
make
44+
pwd
4445
4546
- name: clone yubihsmrs
4647
run: |

0 commit comments

Comments
 (0)