mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-14 05:15:35 +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…
Reference in New Issue
Block a user