-
Notifications
You must be signed in to change notification settings - Fork 75
39 lines (34 loc) · 1.1 KB
/
publish_scripts.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
name: Upload files to resources
# upload scripts to release on push to master: WeCross latest download resources
on:
release:
types: [prereleased]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Upload upgrade_account_manager.sh
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: scripts/upgrade_account_manager.sh
asset_name: upgrade_account_manager.sh
tag: ${{ github.ref }}
overwrite: true
- name: Upload upgrade_console.sh
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: scripts/upgrade_console.sh
asset_name: upgrade_console.sh
tag: ${{ github.ref }}
overwrite: true
- name: Upload upgrade_wecross.sh
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: scripts/upgrade_wecross.sh
asset_name: upgrade_wecross.sh
tag: ${{ github.ref }}
overwrite: true