mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
ci: Try releasing to nightly repo
This commit is contained in:
parent
2c306afafc
commit
c5235be840
1 changed files with 7 additions and 6 deletions
13
.github/workflows/build_push.yml
vendored
13
.github/workflows/build_push.yml
vendored
|
@ -174,6 +174,7 @@ jobs:
|
|||
if: startsWith(env.VERSION_TAG, 'r')
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
repository: null2264/yokai-nightly
|
||||
tag_name: ${{ env.VERSION_TAG }}
|
||||
name: Yōkai Nightly (${{ env.VERSION_TAG }})
|
||||
body: |
|
||||
|
@ -208,10 +209,10 @@ jobs:
|
|||
draft: false
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.NIGHTLY_PAT }}
|
||||
|
||||
- name: Delete Old Nightly
|
||||
if: startsWith(env.VERSION_TAG, 'r') && env.PREV_TAG != ''
|
||||
run: gh release delete ${{ env.PREV_TAG }} --cleanup-tag
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - name: Delete Old Nightly
|
||||
# if: startsWith(env.VERSION_TAG, 'r') && env.PREV_TAG != ''
|
||||
# run: gh release delete ${{ env.PREV_TAG }} --cleanup-tag
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue