From 5323d3ffcc4c2334509def94da867d0f44d3ced7 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Tue, 16 Apr 2024 00:21:00 -0400 Subject: [PATCH] add github release --- .github/workflows/release.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8943c99c..8e610562 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,13 +25,8 @@ concurrency: jobs: release-inputs: - name: PyPI - ${{ inputs.deploy-to }} + name: Release inputs runs-on: ubuntu-latest - environment: - name: ${{ inputs.deploy-to }} - url: ${{ vars.PYPI_PROJECT_URL }} - permissions: - id-token: write # IMPORTANT: this permission is mandatory for trusted publishing outputs: version: ${{ steps.version.outputs.version }} archive-name: ${{ steps.archive.outputs.name }} @@ -78,7 +73,7 @@ jobs: echo "path=$path" >> $GITHUB_OUTPUT pypi-release: - name: PyPI - ${{ inputs.deploy-to }} + name: PyPI release runs-on: ubuntu-latest needs: [release-inputs] environment: @@ -108,7 +103,7 @@ jobs: archive-name: ${{ needs.release-inputs.outputs.archive-name }} github-release: - name: GitHub Release + name: GitHub release if: ${{ !failure() && !cancelled() }} needs: [release-inputs] uses: dbt-labs/dbt-release/.github/workflows/github-release.yml@main @@ -119,7 +114,7 @@ jobs: test_run: ${{ inputs.deploy-to == 'test' }} docker-release: - name: "Docker Release" + name: Docker release needs: [release-inputs, github-release] # docker relies on the published tag from github-release if: ${{ !failure() && !cancelled() }} permissions: