mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-27 08:04:04 +08:00
Release: use @svenstaro/upload-release-action to make releases
This commit is contained in:
parent
7d24a931c8
commit
bf0dd8bb98
15
.github/workflows/run.yml
vendored
15
.github/workflows/run.yml
vendored
@ -180,16 +180,13 @@ jobs:
|
||||
sha256sum rules.zip > rules.zip.sha256sum
|
||||
|
||||
- name: Release and upload assets
|
||||
uses: softprops/action-gh-release@v0.1.6
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
name: ${{ env.RELEASE_NAME }}
|
||||
tag_name: ${{ env.TAG_NAME }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
files: |
|
||||
./publish/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
release_name: ${{ env.RELEASE_NAME }}
|
||||
tag: ${{ env.TAG_NAME }}
|
||||
file_glob: true
|
||||
file: ./publish/*
|
||||
|
||||
- name: Git push assets to "release" branch
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user