From 6519496b1ace4fbe71d4736f022e712f19b15ea6 Mon Sep 17 00:00:00 2001 From: MIMANSHU MAHESHWARI Date: Sun, 31 Mar 2024 02:52:42 +0530 Subject: [PATCH] udpdate workfow for upload release --- .github/workflows/rust.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8a65c2c..84b01c4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,7 +37,7 @@ jobs: - target: x86_64-apple-darwin archive: zip steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Compile and release uses: rust-build/rust-build.action@v1.4.5 env: @@ -45,4 +45,11 @@ jobs: with: RUSTTARGET: ${{ matrix.target }} ARCHIVE_TYPES: ${{ matrix.archive }} + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: Binary + path: | + ${{ steps.compile.outputs.BUILT_ARCHIVE }} + ${{ steps.compile.outputs.BUILT_CHECKSUM }}