Skip to content

Set up an autorelease pipeline #1

Set up an autorelease pipeline

Set up an autorelease pipeline #1

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- v[0-9]+.*
jobs:
create-release:
if: github.repository_owner == 'rust-windowing'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
branch: master
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- run: |
cargo login ${{ secrets.CRATES_IO_API_TOKEN }}

Check failure on line 24 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 24
cargo publish