remove comma #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Version Verification | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
jobs: | ||
verify-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Print current path | ||
id: path | ||
run: echo "Current file path $GITHUB_WORKSPACE" | ||
- name: Read Tags from publish.yml | ||
id: read_tags | ||
run: | | ||
tags=$(awk '/tags/{print $2}' .github/workflows/publish.yml) | ||
tags_without_comma=${tags%,} | ||
echo "tags::$tags_without_comma" >> $GITHUB_ENV | ||
- name: Use Output | ||
id: output | ||
run: echo "Output is ${{ $tags_without_comma }}" | ||
Check failure on line 29 in .github/workflows/version-check.yml GitHub Actions / Version VerificationInvalid workflow file
|
||