From 86e4c76dabb20b7f489abcb1f1c3cdb11a494b91 Mon Sep 17 00:00:00 2001 From: KunoiSayami <46131041+KunoiSayami@users.noreply.github.com> Date: Sat, 8 May 2021 01:22:08 +0800 Subject: fix: Fix authenticate-cookie not working properly * feat: Add adduser subcommand --- .github/workflows/build-cross.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build-cross.yml (limited to '.github/workflows/build-cross.yml') diff --git a/.github/workflows/build-cross.yml b/.github/workflows/build-cross.yml new file mode 100644 index 0000000..68f08fd --- /dev/null +++ b/.github/workflows/build-cross.yml @@ -0,0 +1,36 @@ +name: Build cross binary + +on: + push: + tags: + - v** + pull_request: + +jobs: + build_aarch64: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - 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 -- cgit v1.3.1