adjust release workflow to not use a change file #6
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 | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
release: | |
strategy: | |
matrix: | |
platform: | |
- os-name: Linux-aarch64 | |
runs-on: ubuntu-20.04 | |
target: aarch64-unknown-linux-gnu | |
- os-name: Linux-x86_64 | |
runs-on: ubuntu-20.04 | |
target: x86_64-unknown-linux-gnu | |
- os-name: Windows-x86_64 | |
runs-on: windows-latest | |
target: x86_64-pc-windows-msvc | |
- os-name: MacOS-aarch64 | |
runs-on: macOS-latest | |
target: aarch64-apple-darwin | |
- os-name: MacOS-x86_64 | |
runs-on: macOS-latest | |
target: x86_64-apple-darwin | |
runs-on: ${{ matrix.platform.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build binary | |
uses: houseabsolute/actions-rust-cross@v0 | |
with: | |
command: build | |
target: ${{ matrix.platform.target }} | |
args: "--release" | |
- name: Run tests | |
uses: houseabsolute/actions-rust-cross@v0 | |
with: | |
command: test | |
target: ${{ matrix.platform.target }} | |
- name: Publish artifacts | |
uses: houseabsolute/actions-rust-release@v0 | |
with: | |
executable-name: skyway | |
target: ${{ matrix.platform.target }} | |
changes-file: null | |
extra-files: README.md | |
release-tag-prefix: do-not-create-releases |