Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
Phleesty committed Nov 16, 2024
1 parent 376c5f2 commit ddcb345
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
branches: [ "master" ]
tags: ["*"] # Событие для тега, например v1.0.0, v2.3.4
tags: ["v*"] # Событие для тегов, например v1.0.0, v2.3.4
pull_request:
branches: [ "master" ]

Expand Down Expand Up @@ -45,6 +45,7 @@ jobs:
name: v2rayN

- name: Create Release
id: create_release # Добавлен ID для шага
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -61,7 +62,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ steps.create_release.outputs.upload_url }} # Используем выход create_release
asset_path: ./v2rayN/v2rayN.zip
asset_name: v2rayN.zip
asset_content_type: application/zip

0 comments on commit ddcb345

Please sign in to comment.