diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index d09bde7..9078413 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -18,7 +18,7 @@ jobs: is-existing-release: ${{ steps.pre_release.outputs.is-existing-release }} steps: - name: Perform pre-release actions - uses: abusix/github-release-actions/perform-pre-release@v0.1.0 + uses: abusix/github-release-actions/perform-pre-release@PLA-1131-additional-outputs id: pre_release with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -26,8 +26,9 @@ jobs: - name: Echo the outputs run: | - echo "releaseId: ${{ steps.pre_release.outputs.release-id }}" - echo "isExistingRelease: ${{ steps.pre_release.outputs.is-existing-release }}" + echo "release-id: ${{ steps.pre_release.outputs.release-id }}" + echo "is-existing-release: ${{ steps.pre_release.outputs.is-existing-release }}" + echo "release-url ${{ steps.pre_release.outputs.release-url }}" deploy-production: runs-on: ubuntu-latest @@ -56,7 +57,12 @@ jobs: docker push ghcr.io/${{ github.repository }}:latest - name: Perform post-release actions - uses: abusix/github-release-actions/perform-post-release@v0.1.0 + uses: abusix/github-release-actions/perform-post-release@PLA-1131-additional-outputs + id: post_release with: github-token: ${{ secrets.GITHUB_TOKEN }} release-id: ${{ needs.prepare-production-deployment.outputs.release-id }} + + - name: Echo the outputs + run: | + echo "release-url: ${{ steps.post_release.outputs.release-url }}" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cbf8d5..c2d109a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: APP_VERSION=${{ env.RELEASE_VERSION }} - name: Create release - uses: abusix/github-release-actions/create-prerelease@v0.1.0 + uses: abusix/github-release-actions/create-prerelease@PLA-1131-additional-outputs with: release-version: ${{ env.RELEASE_VERSION }} github-token: ${{ secrets.GITHUB_TOKEN }}