From d74b02dd90a0efe5862c344d7efb59654ea0a955 Mon Sep 17 00:00:00 2001 From: xosnrdev Date: Wed, 7 Aug 2024 02:51:17 -0400 Subject: [PATCH] ci: fix upload release permission error --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 26e6f76..9f2edeb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,13 +33,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Build release asset + - name: Build binary run: | - cargo build --release --verbose + cargo build --release tar -czf "${ARCHIVE_NAME}" -C target/release "${APP_NAME}" - - name: Upload release asset - uses: actions/upload-release-asset@v1.0.2 + - name: Upload binary + uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: