forked from 2dust/v2rayN
-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (44 loc) · 1.25 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: release
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
configuration:
- Release
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cd v2rayN && .\build.ps1 && .\build-32.ps1
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: v2rayN
path: |
.\v2rayN\v2rayN.zip
.\v2rayN\v2rayN-32.zip
- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: '${{ secrets.ACCESS_TOKEN }}'
with:
files: |
.\v2rayN\v2rayN.zip
.\v2rayN\v2rayN-32.zip
tag_name: 'draft'
prerelease: '${{ contains(github.ref, ''-'') }}'
draft: true
body: >
[![](https://img.shields.io/badge/Telegram-Channel-blue)](https://t.me/netch_channel)
[![](https://img.shields.io/badge/Telegram-Group-green)](https://t.me/netch_group)
## Changelogs
* This is an automated deployment of GitHub Actions, the change log
should be updated manually soon