fix: potential correction of the check
action
#13
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
on: | |
push: | |
tags: | |
- "v*" | |
name: build | |
jobs: | |
build: | |
name: Ubuntu build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Run cargo build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Archive Release | |
uses: thedoctor0/[email protected] | |
with: | |
type: "zip" | |
filename: "ubuntu.zip" | |
directory: "target/release" | |
path: "rt" | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/release/ubuntu.zip | |
tag: ${{ github.ref }} | |
build-win: | |
name: Windows build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Run cargo build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Archive Release | |
uses: thedoctor0/[email protected] | |
with: | |
type: "zip" | |
filename: "windows.zip" | |
directory: "target/release" | |
path: "rt.exe" | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/release/windows.zip | |
tag: ${{ github.ref }} | |
build-macos: | |
name: MacOs build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Run cargo build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Archive Release | |
uses: thedoctor0/[email protected] | |
with: | |
type: "zip" | |
filename: "macos.zip" | |
directory: "target/release" | |
path: "rt" | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/release/macos.zip | |
tag: ${{ github.ref }} |