Skip to content

BlackCube-rs Release v0.3.1 #5

BlackCube-rs Release v0.3.1

BlackCube-rs Release v0.3.1 #5

Workflow file for this run

name: Generate And Upload Artifacts To Release
on:
release:
types: [created]
jobs:
generate:
name: Create release-artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Generate the first artifact
run: cargo build --release
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-gnu
override: true
- name: Generate the second artifact
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target x86_64-pc-windows-gnu
- run: ls -R
- name: Upload the artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "./target/release/blackcube-rs ./target/x86_64-pc-windows-gnu/release/blackcube-rs.exe"