Skip to content

add print tag

add print tag #4

Workflow file for this run

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: echo "::set-output name=tags::$(awk '/tags/{print $2}' .github/workflows/publish.yml)"
- name: Use Output
id: output
run: echo "Output is ${{ steps.set_output_step.outputs.tags }}"