Skip to content

Release Tag: abs/v0.0.1 #5

Release Tag: abs/v0.0.1

Release Tag: abs/v0.0.1 #5

Workflow file for this run

name: Release
run-name: "Release Tag: ${{ github.ref_name }}"
on:
push:
tags:
- '*/v*.*.*'
jobs:
create-releae:
name: Build and created tagged release
runs-on: ubuntu-latest
steps:
- name: Split tag
env:
TAG: ${{ github.ref_name }}
id: split
run: |

Check failure on line 19 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: 19, Col: 14): Unexpected symbol: 'TAG##/*'. Located at position 1 within expression: TAG##/*
echo "project=${{ TAG##/* }}" >> $GITHUB_OUTPUT
echo "version=${{ TAG##*/ }}" >> $GITHUB_OUTPUT
- name: Test tag split
run: |
echo ${{ steps.split.outputs.project }}
echo ${{ steps.split.outputs.verison }}
# - name: Checkout source code
# uses: actions/[email protected]
# with:
# fetch-depth: 0
# ref: ${{ github.events.repository.default_branch }}
# - name: Setup dotnet 6.0.x
# uses: actions/[email protected]
# with:
# dotnet-version: '6.0.x'
# - name: Install dependencies
# run: dotnet restore ${{ github.ref_name }}
# - name: Build
# run: dotnet build ${{ github.ref_name }} --configuration Release