ci: musl target.
Some checks failed
Gitea Actions Demo / build (push) Failing after 7s

This commit is contained in:
Ivan Li 2023-06-18 19:29:04 +08:00
parent 4e8628be51
commit d93a2402e8

View File

@ -38,13 +38,17 @@ jobs:
with: with:
toolchain: stable toolchain: stable
override: true override: true
target: x86_64-unknown-linux-musl
- name: Get Commit Tag - name: Get Commit Tag
id: tag id: tag
uses: https://github.com/Maxyme/get-release-or-tag@v2 uses: https://github.com/Maxyme/get-release-or-tag@v2
- name: Build - name: Run build
run: cargo build --release uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-unknown-linux-musl --release
- name: Log in to the Container registry - name: Log in to the Container registry
uses: https://github.com/docker/login-action@v2 uses: https://github.com/docker/login-action@v2