Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Test

Test #7

Workflow file for this run

name: Release
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Get version from tag
id: tag_name
run: |

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

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 15, Col: 14): Unexpected symbol: 'ref#refs/tags/v'. Located at position 8 within expression: github.ref#refs/tags/v
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
echo ${GITHUB_REF#refs/tags/v}
echo $GITHUB_REF_NAME
echo ${{ github.ref#refs/tags/v }}
echo ${{ github.ref_name }}
shell: bash
- name: Checkout
uses: actions/checkout@v3
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ steps.tag_name.outputs.current_version }}
- name: Release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.changelog_reader.outputs.changes }}