From f437bd67e8ec8c2c5ca667098955eb17b0cde4c1 Mon Sep 17 00:00:00 2001 From: selimseker Date: Sat, 7 Sep 2024 00:27:10 +0300 Subject: [PATCH] publish exe instead of tar --- .github/workflows/build_prod_exe.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_prod_exe.yml b/.github/workflows/build_prod_exe.yml index 535e8a0..5d54f64 100644 --- a/.github/workflows/build_prod_exe.yml +++ b/.github/workflows/build_prod_exe.yml @@ -47,15 +47,14 @@ jobs: run: | mkdir $FOLDER_NAME # move the binary - mv target/${{ matrix.target }}/release/$BINARY_NAME $FOLDER_NAME + mv target/${{ matrix.target }}/release/$BINARY_NAME ./dkn-compute-binary-${{ matrix.osname }}-${{ matrix.arch }}${{ matrix.extension }} - tar -czvf $TAR_NAME.tar.gz $FOLDER_NAME - name: Upload Launch Artifacts uses: actions/upload-artifact@v4 with: name: dkn-compute-binary-${{ matrix.osname }}-${{ matrix.arch }} - path: dkn-compute-binary-${{ matrix.osname }}-${{ matrix.arch }}.tar.gz + path: dkn-compute-binary-${{ matrix.osname }}-${{ matrix.arch }}${{ matrix.extension }} release: @@ -97,6 +96,6 @@ jobs: name: ${{ env.LATEST_RELEASE }} tag: ${{ env.LATEST_TAG }} artifacts: "artifacts/*" - artifactContentType: application/gzip + artifactContentType: application/octet-stream allowUpdates: true # draft: true