diff --git a/.github/workflows/pack-tutorials.yml b/.github/workflows/pack-tutorials.yml index fc4b536a..9cf93c0c 100644 --- a/.github/workflows/pack-tutorials.yml +++ b/.github/workflows/pack-tutorials.yml @@ -65,12 +65,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload zip file as release asset - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ steps.get_release.outputs.tag }} - files: ${{ env.ZIP_FILE_NAME }} - draft: false - prerelease: false + env: + GH_TOKEN: ${{ github.token }} + run: gh release upload "${{ steps.get_release.outputs.tag }}" "${{ env.ZIP_FILE_NAME }}" - name: Cleanup if: always()