From 9c08f2fb2253b08ac552fc30902b931c3d183a8a Mon Sep 17 00:00:00 2001 From: Jeffrey Huynh Date: Wed, 4 Oct 2023 12:14:45 -0700 Subject: [PATCH 1/2] Changing windows version from 1.68 to stable --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 708648ce..514c6477 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: toolchain: stable - os: windows-latest os-name: windows - toolchain: '1.68' + toolchain: stable needs: [metadata] if: ${{ needs.metadata.result == 'success' }} @@ -106,7 +106,7 @@ jobs: if: ${{ matrix.os-name == 'windows' }} run: | mkdir release - rustup run 1.68 cargo build --release + rustup run stable cargo build --release mv target/release/broker.exe release/broker-$env:RELEASE_VERSION-x86_64-windows.exe gh release upload ${{ github.ref_name }} release/broker-$env:RELEASE_VERSION-x86_64-windows.exe --clobber From 9dc8dad859b783012126b36af5785596b34b475f Mon Sep 17 00:00:00 2001 From: Jeffrey Huynh Date: Wed, 4 Oct 2023 12:28:10 -0700 Subject: [PATCH 2/2] Changing to cargo build command --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 514c6477..0c7da8b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,7 +106,7 @@ jobs: if: ${{ matrix.os-name == 'windows' }} run: | mkdir release - rustup run stable cargo build --release + cargo build --release mv target/release/broker.exe release/broker-$env:RELEASE_VERSION-x86_64-windows.exe gh release upload ${{ github.ref_name }} release/broker-$env:RELEASE_VERSION-x86_64-windows.exe --clobber