Fix build-apk (alpine/node) and build-arch (install nodejs before checkout)
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -137,14 +137,14 @@ jobs:
|
|||||||
build-apk:
|
build-apk:
|
||||||
name: Build Alpine Package
|
name: Build Alpine Package
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
container: node:18
|
container: alpine/node:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git nodejs npm abuild
|
apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git abuild
|
||||||
- name: Build APK package
|
- name: Build APK package
|
||||||
run: ./build-alpine.sh
|
run: ./build-alpine.sh
|
||||||
- name: Upload to releases (on tag)
|
- name: Upload to releases (on tag)
|
||||||
@ -159,12 +159,14 @@ jobs:
|
|||||||
runs-on: linux
|
runs-on: linux
|
||||||
container: archlinux:latest
|
container: archlinux:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Install Node.js for GitHub Actions
|
||||||
|
run: pacman -Sy --noconfirm nodejs npm
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm rust cargo systemd git base-devel nodejs npm
|
pacman -Syu --noconfirm rust cargo systemd git base-devel
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
- name: Build Arch package
|
- name: Build Arch package
|
||||||
|
|||||||
Reference in New Issue
Block a user