Merge pull request #606 from kyonRay/master #66
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: Upload files to resources | |
# upload scripts to release on push to master: WeCross latest download resources | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Upload download_wecross.sh | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: scripts/download_wecross.sh | |
asset_name: download_wecross.sh | |
tag: resources | |
overwrite: true | |
- name: Upload download_console.sh | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: scripts/download_console.sh | |
asset_name: download_console.sh | |
tag: resources | |
overwrite: true | |
- name: Upload download_account_manager.sh | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: scripts/download_account_manager.sh | |
asset_name: download_account_manager.sh | |
tag: resources | |
overwrite: true | |
- name: Upload download_demo.sh | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: scripts/download_demo.sh | |
asset_name: download_demo.sh | |
tag: resources | |
overwrite: true |