Compare commits

...
+12 -1
View File
@@ -4,6 +4,12 @@ on:
push:
pull_request:
workflow_dispatch:
inputs:
tag:
description: 'Tag to force the cross build on'
required: false
type: string
default: ''
jobs:
pre_job:
@@ -131,7 +137,7 @@ jobs:
if: needs.pre_job.outputs.should_skip != 'true'
name: cross
runs-on: ubuntu-latest
container: "node:current-bookworm-slim"
container: "node:current-bullseye-slim"
strategy:
fail-fast: false
matrix:
@@ -158,6 +164,8 @@ jobs:
pkgconfig: i386-linux-gnu
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag }}
- name: Install basic tools
run: |
apt-get update
@@ -182,6 +190,7 @@ jobs:
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
- name: Install ${{ matrix.arch }} Rust toolchain
run: |
rustup default 1.79.0
rustup target add ${TARGET}
env:
TARGET: ${{ matrix.target }}
@@ -217,6 +226,8 @@ jobs:
SECRET: "${{ secrets.DOCKER_TOKEN }}"
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag }}
if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }}
- name: Convert username to lower case for docker
id: string_user