Skip to content

Commit

Permalink
ci: upload nightly with "gh release"
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Oct 18, 2023
1 parent c49e0e3 commit 38ad29b
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/actions/release-nightly/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ runs:
run: 'zip ${{ steps.archive_name.outputs.archive_name }}.zip ${{ inputs.artifact }}'
shell: bash
- name: Upload to release
uses: softprops/[email protected]
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/[email protected]
# 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

0 comments on commit 38ad29b

Please sign in to comment.