diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 056d059..0a26d57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,16 +27,16 @@ jobs: uses: gmiam/rust-musl-action@master with: args: cargo build --target $BUILD_TARGET --release - - uses: actions/upload-artifact@v2 - name: Upload artifact - with: - name: ${{ env.BINARY_NAME }} - path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }} - name: Compress binaries uses: svenstaro/upx-action@v2 with: files: | target/x86_64-unknown-linux-musl/release/* + - uses: actions/upload-artifact@v2 + name: Upload artifact + with: + name: ${{ env.BINARY_NAME }} + path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }} - uses: ncipollo/release-action@v1 name: Update release page with: