Skip to content

fix: push new tags to extensions #9

fix: push new tags to extensions

fix: push new tags to extensions #9

---
name: Push new tagged version
on: # yamllint disable-line rule:truthy
workflow_dispatch:
pull_request:
push:
# Pattern matched against refs/tags
tags:
- '*'
jobs:
set-version:
runs-on: ubuntu-latest
steps:
- name: Set version variable
run: |
version=$(cat scripts/version.sh | grep 'CODECOV_WRAPPER_VERSION=' | cut -d\" -f2)
echo "CODECOV_WRAPPER_VERSION=$version" >> $GITHUB_ENV
bitrise-step:
needs: set-version
uses: ./.github/workflows/push-tag.yml
with:
repository: "codecov/codecov-bitrise"
version: "${{ env.CODECOV_WRAPPER_VERSION }}"

Check failure on line 25 in .github/workflows/push-tag-to-extensions.yml

View workflow run for this annotation

GitHub Actions / Push new tagged version

Invalid workflow file

The workflow is not valid. .github/workflows/push-tag-to-extensions.yml (Line: 25, Col: 16): Unrecognized named-value: 'env'. Located at position 1 within expression: env.CODECOV_WRAPPER_VERSION