Skip to content

Commit 4615252

Browse files
vkutueviakov
authored andcommitted
enabled uploading to existing release in release workflow
1 parent fdb3a6a commit 4615252

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release_on_tag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
make RESULT_PDF='${{ env.RESULT_PDF }}'
2828
- name: Release
2929
run: |
30-
gh release create ${{ github.ref_name}} -t '${{ env.NAME }}' '${{ env.RESULT_PDF }}'#'${{ env.ASSET_LABEL }}'
30+
gh release create ${{ github.ref_name}} -t '${{ env.NAME }}' '${{ env.RESULT_PDF }}'#'${{ env.ASSET_LABEL }}' \
31+
|| gh release upload --clobber ${{ github.ref_name}} '${{ env.RESULT_PDF }}'#'${{ env.ASSET_LABEL }}'
3132
env:
3233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3334
NAME: 'Перевод курса "RISC-V Toolchain and Compiler Optimization Techniques" (LFD113x) ${{ github.ref_name}}'

0 commit comments

Comments
 (0)