From 38ad29bc6c751ad028b7284945dd023e8679f269 Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Wed, 18 Oct 2023 14:26:40 +0200 Subject: [PATCH] ci: upload nightly with "gh release" --- .github/actions/release-nightly/action.yaml | 22 +++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/actions/release-nightly/action.yaml b/.github/actions/release-nightly/action.yaml index acec59e167..5cee8dc0ff 100644 --- a/.github/actions/release-nightly/action.yaml +++ b/.github/actions/release-nightly/action.yaml @@ -47,11 +47,17 @@ runs: run: 'zip ${{ steps.archive_name.outputs.archive_name }}.zip ${{ inputs.artifact }}' shell: bash - name: Upload to release - uses: softprops/action-gh-release@v0.1.15 - with: - files: | - ${{ steps.archive_name.outputs.archive_name }}.tar.xz - ${{ steps.archive_name.outputs.archive_name }}.zip - tag_name: ${{ inputs.release }} - fail_on_unmatched_files: false - prerelease: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release upload nightly ${{ steps.archive_name.outputs.archive_name }}.tar.xz ${{ steps.archive_name.outputs.archive_name }}.zip + shell: bash + # - name: Upload to release + # uses: softprops/action-gh-release@v0.1.15 + # with: + # files: | + # ${{ steps.archive_name.outputs.archive_name }}.tar.xz + # ${{ steps.archive_name.outputs.archive_name }}.zip + # tag_name: ${{ inputs.release }} + # fail_on_unmatched_files: false + # prerelease: true