Fix build-apk (alpine/node) and build-arch (install nodejs before checkout)
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 12s
CI/CD Pipeline / Build Debian Package (push) Successful in 1m57s
CI/CD Pipeline / Build RPM Package (push) Successful in 3m16s
CI/CD Pipeline / Build Alpine Package (push) Failing after 5s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 12s
CI/CD Pipeline / Build Debian Package (push) Successful in 1m57s
CI/CD Pipeline / Build RPM Package (push) Successful in 3m16s
CI/CD Pipeline / Build Alpine Package (push) Failing after 5s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -137,14 +137,14 @@ jobs:
|
||||
build-apk:
|
||||
name: Build Alpine Package
|
||||
runs-on: linux
|
||||
container: node:18
|
||||
container: alpine/node:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install build dependencies
|
||||
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
|
||||
run: ./build-alpine.sh
|
||||
- name: Upload to releases (on tag)
|
||||
@ -159,12 +159,14 @@ jobs:
|
||||
runs-on: linux
|
||||
container: archlinux:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Node.js for GitHub Actions
|
||||
run: pacman -Sy --noconfirm nodejs npm
|
||||
- name: Install build dependencies
|
||||
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
|
||||
run: cargo build --release
|
||||
- name: Build Arch package
|
||||
|
||||
Reference in New Issue
Block a user