-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (40 loc) · 1.23 KB
/
build-beta.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
name: Build And Release (Beta)
on:
push:
tags:
- "v[0-9]+(.[0-9]+){1,3}-beta.*"
jobs:
Build-Executable-And-Release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm ci
- run: npm run makepack
- run: |
mv dist/*.exe .
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
files: |
*.exe
- uses: ckylinmc/[email protected]
with:
endpoint: ${{ secrets.AWS_ENDPOINT }}
accesskey: ${{secrets.AWS_ACCESS_KEY_ID}}
secretkey: ${{secrets.AWS_SECRET_ACCESS_KEY}}
bucketname: ${{ secrets.AWS_S3_BUCKET }}
source: './cmand.exe'
dest: '/cmand/cmand.exe'
- uses: ckylinmc/[email protected]
with:
endpoint: ${{ secrets.AWS_ENDPOINT }}
accesskey: ${{secrets.AWS_ACCESS_KEY_ID}}
secretkey: ${{secrets.AWS_SECRET_ACCESS_KEY}}
bucketname: ${{ secrets.AWS_S3_BUCKET }}
source: './cmand.exe'
dest: '/cmand/cmand-beta.exe'