From 417c110187935597e5566a02acf33ab1c7c6e25b Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 7 Apr 2025 23:39:30 +0200 Subject: [PATCH] move to using a custom docker image instead of trying to manage the dependencies ourselves --- .github/workflows/release.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 86f560b..4776c04 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,6 +14,9 @@ on: jobs: compile: runs-on: ubuntu-latest + container: + image: ghcr.io/thepigeongenerator/crust_tools:latest + needs: install-deps strategy: matrix: arch: @@ -22,17 +25,7 @@ jobs: env: OUT: ${{github.workspace}}/mcaselector-lite-${{matrix.arch}}-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip steps: - - uses: actions/checkout@v4 # clone the repo - # 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 + - uses: actions/checkout@latest - run: make compile ARCH=${{matrix.arch}} - name: compress binary information run: |