From 952804f6bf57a7c9b9d61fcdb6d21dea4ea7f64b Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:22:59 -0400 Subject: [PATCH] Update create_release_and_build.yml --- .github/workflows/create_release_and_build.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/create_release_and_build.yml b/.github/workflows/create_release_and_build.yml index 988be16..83df16e 100644 --- a/.github/workflows/create_release_and_build.yml +++ b/.github/workflows/create_release_and_build.yml @@ -9,6 +9,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + + + # Publish to crates.io + - name: publish to crates.io + uses: katyo/publish-crates@v1 + with: + registry-token: ${{ secrets.CRATES_IO_TOKEN }} # Build for linux x86_64 - name: build release linux_x86_64 @@ -20,7 +27,7 @@ jobs: run: tar -C target/release -czf ./oxker_linux_x86_64.tar.gz oxker # Build for linux aarch64, aka 64 bit pi 4 - - name: build release armv7 + - name: build release arm64v8 uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -82,12 +89,6 @@ jobs: --push \ -f containerised/Dockerfile . - # Publish to crates.io - - name: publish to crates.io - uses: katyo/publish-crates@v1 - with: - registry-token: ${{ secrets.CRATES_IO_TOKEN }} - - name: Release uses: softprops/action-gh-release@v1 with: @@ -101,4 +102,4 @@ jobs: oxker_linux_armv6.tar.gz oxker_windows_x86_64.zip env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}