mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Delete beta each time so that it becomes highest release
This commit is contained in:
parent
9e8a89547a
commit
d8ea6eb0ae
1 changed files with 7 additions and 0 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
@ -69,6 +69,13 @@ jobs:
|
|||
|
||||
cp svg/check.svg ${{env.SMASH_WEB_DIR}}/check.svg
|
||||
zip -r training_modpack_beta.zip atmosphere
|
||||
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: beta
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Update Release
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: meeDamian/github-release@2.0
|
||||
|
|
Loading…
Reference in a new issue