From ff80c4fba5d960cea8e2d3cb50f75c1a0f5d4ab0 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Tue, 16 Jul 2024 14:17:19 -0500 Subject: [PATCH] Update action --- .github/workflows/buildrelease.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/buildrelease.yml b/.github/workflows/buildrelease.yml index 161b000..5cb10d6 100644 --- a/.github/workflows/buildrelease.yml +++ b/.github/workflows/buildrelease.yml @@ -15,15 +15,13 @@ jobs: name: Build binaries for Windows and Linux runs-on: ubuntu-latest steps: - - - uses: actions/checkout@v3 - + - name: '📄 Checkout' + uses: actions/checkout@v3 - name: 'Set up Rust environment' uses: dtolnay/rust-toolchain@master with: toolchain: stable targets: x86_64-pc-windows-gnu, x86_64-unknown-linux-gnu - - name: 'Cache Rust dependencies' uses: actions/cache@v4 with: @@ -31,7 +29,6 @@ jobs: key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.OS }}-build- - - name: '📦 Package Windows x86_64' run: | cd ${{github.workspace}} @@ -41,7 +38,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.TOKEN }} shell: bash - - name: '📦 Package Linux x86_64' run: | cd ${{github.workspace}} @@ -51,20 +47,17 @@ jobs: env: GITHUB_TOKEN: ${{ github.TOKEN }} shell: bash - build-mac: name: Build binaries for MacOS runs-on: macos-14 steps: - - - uses: actions/checkout@v3 - + - name: '📄 Checkout' + uses: actions/checkout@v3 - name: 'Set up Rust environment' uses: dtolnay/rust-toolchain@master with: toolchain: stable targets: x86_64-apple-darwin, aarch64-apple-darwin - - name: 'Cache Rust dependencies' uses: actions/cache@v4 with: @@ -72,7 +65,6 @@ jobs: key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.OS }}-build- - - name: '📦 Package MacOS x86_64' run: | cd ${{github.workspace}} @@ -82,7 +74,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.TOKEN }} shell: bash - - name: '📦 Package MacOS Arm' run: | cd ${{github.workspace}}