diff --git a/action.yml b/action.yml index 3b8a824..470a248 100644 --- a/action.yml +++ b/action.yml @@ -26,22 +26,6 @@ outputs: runs: using: "composite" steps: - # If action_ref points to v0 or v0.3, expect to be on a tag, - # else expect that user passed either `main` or an hash. - - name: Fetch tag or hash to be used - shell: bash - working-directory: ${{ github.action_path }} - id: git - run: | - if [[ "$ACTION_REF" =~ ^v[0-9] ]]; then - GIT_VER=$(git tag --points-at HEAD) - else - GIT_VER=$ACTION_REF - fi - echo "git_ver=$GIT_VER" >> $GITHUB_OUTPUT - env: - ACTION_REF: ${{ github.action_ref }} - - name: Generate vars yaml working-directory: ${{ github.action_path }}/ansible-playbooks shell: bash @@ -49,10 +33,12 @@ runs: cat > vars.yml <