Skip to content

ci: Automate crate releases #7

ci: Automate crate releases

ci: Automate crate releases #7

Workflow file for this run

name: release
on:
release:
types: [created]
jobs:
release-crate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/asdf
with:
rust: true
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
working-directory: bindings/rust

Check failure on line 16 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
build-go-binaries:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
sha256sum: true
project_path: cmd/scip
binary_name: scip
ldflags: "-X 'main.Reproducible=true'"
asset_name: scip-${{ matrix.goos }}-${{ matrix.goarch }}
extra_files: LICENSE