0.4.5: Major bump zip dependency, to keep up with the future #15
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: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: Create Release | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Test the program | |
run: cargo test | |
- name: Build the program | |
run: cargo build --release | |
- name: Run the program | |
run: cargo run --release -- -q | |
- name: Copy release to release folder | |
run: | | |
bash -c "mkdir -p release" | |
bash -c "cp -vf \ | |
target/release/neversink-filter-downloader.exe \ | |
target/release/neversink-filter-downloader \ | |
./release/. \ | |
| true" | |
- name: Archive Release | |
uses: TheDoctor0/[email protected] | |
with: | |
type: "zip" | |
filename: "neversink-filter-downloader.zip" | |
path: "./release" | |
exclusions: "target" | |
- name: Upload Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "neversink-filter-downloader.zip" | |
token: ${{ secrets.GITHUB_TOKEN }} |