Skip to content

Commit

Permalink
UPDATE workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
iotames committed Apr 9, 2024
1 parent 57f68f1 commit 94dcb4e
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ on:
- "v*"

jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Create Release
id: create_release
uses: actions/create-release@v1
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref_name }}
body: Please refer to [CHANGELOG.md](https://github.com/iotames/v2raypool/blob/master/CHANGELOG.md) for details.
draft: false
prerelease: false

build:
strategy:
matrix:
Expand Down Expand Up @@ -90,19 +109,6 @@ jobs:
name: ${{ steps.get_filename.outputs.ASSET_NAME }}.tar.gz
path: ${{ steps.get_filename.outputs.ASSET_NAME }}.tar.gz

- name: Create Release
id: create_release
uses: actions/create-release@v1
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref_name }}
body: Please refer to [CHANGELOG.md](https://github.com/iotames/v2raypool/blob/master/CHANGELOG.md) for details.
draft: false
prerelease: false

- name: Upload files to GitHub release
uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release'
Expand Down

0 comments on commit 94dcb4e

Please sign in to comment.