Skip to content

Update repository links #2

Update repository links

Update repository links #2

Workflow file for this run

name: QA
on:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
release:

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

View workflow run for this annotation

GitHub Actions / QA

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs:
- run-tests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Extract version
id: data
run: |
# Strip git ref prefix from version
RELEASE_VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && RELEASE_VERSION=$(echo $RELEASE_VERSION | sed -e 's/^v//')
echo $RELEASE_VERSION
echo "##[set-output name=version;]$RELEASE_VERSION"
- name: Create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: Version ${{ steps.data.outputs.version }}
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}