test build.yml #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build application | |
run: | | |
cd v2rayN | |
.\build.ps1 | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: v2rayN | |
path: | | |
.\v2rayN\v2rayN.zip | |
- name: Publish Release | |
uses: elgohr/Github-Release-Action@v5 | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
title: ${{ github.ref_name }} | |
tag: ${{ github.ref_name }} | |
prerelease: false | |
files: | | |
.\v2rayN\v2rayN.zip | |
body: | | |
Этот релиз был создан автоматически. | |
Описание будет обновлено в ближайшее время. |