Skip to content

release-package

release-package #11

Workflow file for this run

name: release-package
on:
workflow_dispatch:
workflow_run:
workflows: ["tag-and-version"]
types:
- completed
jobs:
release:
if: github.event.workflow_run.conclusion == 'success'
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.4
env:
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "readme.md"