mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
move to using a custom docker image instead of trying to manage the dependencies ourselves
This commit is contained in:
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
@@ -14,6 +14,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
compile:
|
compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/thepigeongenerator/crust_tools:latest
|
||||||
|
needs: install-deps
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch:
|
arch:
|
||||||
@@ -22,17 +25,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip
|
OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4 # clone the repo
|
- uses: actions/checkout@latest
|
||||||
# install tool chains
|
|
||||||
- name: install dependencies
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install clang zip -y
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
# compile the binary
|
|
||||||
- run: make compile ARCH=${{matrix.arch}}
|
- run: make compile ARCH=${{matrix.arch}}
|
||||||
- name: compress binary information
|
- name: compress binary information
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user