Skip to content

Workflow file for this run

name: "Build for windows x86_64"
on:
release:
types: [created]
jobs:
release:
name: release windows x86_64
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: hecrj/setup-rust-action@v1.4.0
with:
rust-version: stable
- name: Compile
shell: bash
run: |
cargo clean
cargo build --release
- run: copy target/release/cassini.exe .
- name: 'Compress binaries'
if: true
uses: a7ul/tar-action@v1.1.2
with:
command: c
files: |
cassini.exe
LICENCE.md
README.md
outPath: '${{ runner.temp }}/cassini-x86_64-win.tar.gz'
- name: 'Release binaries'
if: true
uses: pragmatrix/release-action@v1.11.1-rs
with:
allowUpdates: true
replacesArtifacts: true
artifacts: '${{ runner.temp }}/cassini-x86_64-win.tar.gz'
token: ${{ secrets.GITHUB_TOKEN }}
artifactErrorsFailBuild: true
prerelease: true