Skip to content

feat: Updated .github/workflows/release.yml #21

feat: Updated .github/workflows/release.yml

feat: Updated .github/workflows/release.yml #21

Workflow file for this run

name: Release
on:
push:
pull_request:
jobs:
release:

Check failure on line 7 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 7
name: release
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v5
id: release
with:
release-type: simple
package-name: hurl.nvim
- uses: actions/checkout@v4
- name: tag stable versions
if: ${{ steps.release.outputs.release_created }}
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git"
git tag -d stable || true
git push origin :stable || true
git tag -a stable -m "Last Stable Release"
git push origin stable