Build #48
Workflow file for this run
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: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
submodules: recursive | |
- uses: actions-rs/toolchain@v1 | |
with: | |
target: x86_64-pc-windows-msvc | |
- name: Distribution build | |
run: cargo xtask dist | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: jdsd_dsiii_practice_tool | |
path: target/dist/jdsd_dsiii_practice_tool.zip | |
- name: Remove nightly release asset | |
uses: flcdrg/remove-release-asset-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
release_id: 78556083 | |
asset_name: jdsd_dsiii_practice_tool.zip | |
- name: Upload nightly release asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: https://uploads.github.com/repos/veeenu/darksoulsiii-practice-tool/releases/78556083/assets{?name,label} | |
asset_path: target/dist/jdsd_dsiii_practice_tool.zip | |
asset_name: jdsd_dsiii_practice_tool.zip | |
asset_content_type: application/zip | |