Skip to content

v0.1.38

v0.1.38 #73

Workflow file for this run

on:
release:
types: [created]
jobs:
release:
name: release ${{ matrix.target }} (with non-required env)
runs-on: ubuntu-latest
if: github.event_name == 'release'
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
steps:
- uses: actions/checkout@master
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md"
ARCHIVE_TYPES: ${{ matrix.archive }}
TOOLCHAIN_VERSION: 1.88.0
ARCHIVE_NAME: wows_toolkit_${{ github.event.release.tag_name }}_windows