diff --git a/.github/actions/versioning/action.yml b/.github/actions/versioning/action.yml index b61520b0..af30a8bd 100644 --- a/.github/actions/versioning/action.yml +++ b/.github/actions/versioning/action.yml @@ -4,9 +4,6 @@ inputs: RELEASE_TYPE: description: Release Type required: false -outputs: - version: - description: Version runs: using: composite @@ -14,8 +11,4 @@ runs: - name: Tag build run: echo "${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" > _site/version shell: bash - - name: Set Version - id: set_version - run: | - echo "version=${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_OUTPUT" - shell: bash + diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml index 31b1607f..2e4d6421 100644 --- a/.github/workflows/release-production.yml +++ b/.github/workflows/release-production.yml @@ -26,6 +26,9 @@ jobs: uses: ./.github/actions/versioning with: release_type: production + - name: Extract version + id: extract_version + run: echo "RELEASE_VERSION=$(cat _site/version)" >> $GITHUB_OUTPUT - name: Publish to Cloudflare Pages Production uses: "./.github/actions/publish_to_pages_production" with: