mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 11:25:45 +01:00
fix: toolchains unavailable when compiling
This commit is contained in:
18
.github/workflows/release.yaml
vendored
18
.github/workflows/release.yaml
vendored
@@ -18,10 +18,15 @@ jobs:
|
||||
OUT: mcaselector-lite-linux-x86_64-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip
|
||||
steps:
|
||||
- uses: actions/checkout@v4 # clone the repo
|
||||
# install tool chains
|
||||
- name: install clang
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install clang
|
||||
apt update
|
||||
apt install clang -y
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
# compile the binary
|
||||
- run: make compile ARCH=linux-x86_64
|
||||
- run: -rv zip ${{env.OUT}} bin/linux-x86_64/rel/*
|
||||
@@ -42,10 +47,15 @@ jobs:
|
||||
OUT: mcaselector-lite-win-x86_64-${{github.event.release.tag_name || github.event.inputs.release_tag}}.zip
|
||||
steps:
|
||||
- uses: actions/checkout@v4 # clone the repo
|
||||
# install tool chains
|
||||
- name: install clang
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install clang
|
||||
apt update
|
||||
apt install clang -y
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
# compile the binary
|
||||
- run: make compile ARCH=win-x86_64
|
||||
- run: -rv zip ${{env.OUT}} bin/win-x86_64/rel/*
|
||||
|
||||
Reference in New Issue
Block a user