mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-27 19:04:15 +08:00
Release: use @svenstaro/upload-release-action to make releases
This commit is contained in:
parent
aa1a916771
commit
5ddb7813b6
16
.github/workflows/run.yml
vendored
16
.github/workflows/run.yml
vendored
@ -247,17 +247,13 @@ jobs:
|
||||
EOF
|
||||
|
||||
- name: Release and upload assets
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
name: latest
|
||||
tag_name: latest
|
||||
draft: false
|
||||
prerelease: false
|
||||
body_path: release.txt
|
||||
files: |
|
||||
./publish/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
release_name: ${{ env.RELEASE_NAME }}
|
||||
tag: latest
|
||||
file_glob: true
|
||||
file: ./publish/*
|
||||
|
||||
- name: Git push assets to "release" branch
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user