0.3.11 #42
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
name: Release workflow | |
on: | |
release: | |
types: [published] | |
jobs: | |
build-release: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest, windows-latest, macos-latest] | |
env: | |
pact_do_not_track: true | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install stable Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: aarch64-apple-darwin | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install LLVM | |
run: choco install -y llvm | |
if: runner.os == 'Windows' | |
- run: ./release.sh ${{ runner.os }} ${{ github.ref }} | |
shell: bash | |
- name: Upload Release Assets | |
id: upload-release-asset | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/artifacts/* | |
file_glob: true | |
tag: ${{ github.ref }} |