aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-cross.yml
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2025-03-07 20:40:46 +0800
committerKunoiSayami <[email protected]>2025-03-07 20:40:46 +0800
commit2591672ed9934393029cb5097c2d79bdad591c08 (patch)
treea2a8f6f144dbc0c2a4e5c681eb1036a9a6323736 /.github/workflows/build-cross.yml
parent58047f90f79b129e445cbf856a23b3a5518c0b12 (diff)
feat(ci): Update workflow file
* chore: Address clippy suggestion Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to '.github/workflows/build-cross.yml')
-rw-r--r--.github/workflows/build-cross.yml36
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/workflows/build-cross.yml b/.github/workflows/build-cross.yml
deleted file mode 100644
index 4d7f548..0000000
--- a/.github/workflows/build-cross.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Build cross binary
-
-on:
- push:
- tags:
- - v**
- pull_request:
-
-jobs:
- build_aarch64:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- target: aarch64-unknown-linux-musl
- override: true
- - name: Build aarch 64 binary
- uses: actions-rs/cargo@v1
- with:
- use-cross: true
- command: build
- args: --target aarch64-unknown-linux-musl --release
- - run: mv target/aarch64-unknown-linux-musl/release/cgit-simple-authentication target/aarch64-unknown-linux-musl/release/cgit-simple-authentication_linux_aarch64
- - uses: actions/upload-artifact@v2
- with:
- name: aarch64-artifact
- path: target/aarch64-unknown-linux-musl/release/cgit-simple-authentication_linux_aarch64
- - name: Release
- uses: softprops/action-gh-release@v1
- if: startsWith(github.ref, 'refs/tags/')
- with:
- files: target/aarch64-unknown-linux-musl/release/cgit-simple-authentication_linux_aarch64
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file