File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish
2+ on :
3+ push :
4+ tags :
5+ - " *"
6+ jobs :
7+ build :
8+ name : Build
9+ runs-on : windows-latest
10+ permissions :
11+ contents : write
12+ pull-requests : write
13+ repository-projects : write
14+ strategy :
15+ matrix :
16+ node-version : [20.x]
17+ steps :
18+ - name : Get NWJS version
19+ run : |
20+ echo "Get NWJS version"
21+ - uses : actions/checkout@v4
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ - name : Build
27+ run : |
28+ npm i
29+ npm i --save-dev archiver
30+ node archiver.js
31+ - name : Upload binaries to release
32+ uses : svenstaro/upload-release-action@v2
33+ with :
34+ repo_token : ${{ secrets.GITHUB_TOKEN }}
35+ file : rutube-downloader.zip
36+ tag : ${{ github.ref_name }}
37+ overwrite : true
38+ file_glob : true
Original file line number Diff line number Diff line change 11*
22! /.github
3+ ! /.github /**
34! /bin
45! /bin /**
56! /src
You can’t perform that action at this time.
0 commit comments