diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e3188c3..ecc1ce3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,8 +38,13 @@ jobs: overwrite: true tags: true draft: true + - name: Get release + id: get_release + uses: bruceadams/get-release@v1.2.2 + env: + GITHUB_TOKEN: ${{ github.token }} - uses: eregon/publish-release@v1.0.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - release_id: ${{ steps.upload_artifact.outputs.release_name }} + release_id: ${{ steps.get_release.outputs.id }}