Skip to content

Commit

Permalink
Merge pull request #28 from lukashornych/dev
Browse files Browse the repository at this point in the history
Discarded delayed release publishing
  • Loading branch information
lukashornych authored Sep 14, 2023
2 parents 2ae2d21 + 949892a commit 1c8b185
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
- name: Create release
id: create_release
uses: release-drafter/release-drafter@v5
with:
publish: true

- name: Upload dist.zip to release
uses: actions/upload-release-asset@v1
Expand Down Expand Up @@ -110,16 +112,17 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.build-and-release.outputs.released_version }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

publish-release:
name: Publish release
needs: build-and-release-docker
permissions:
# write permission is required to create a github release
contents: write

runs-on: ubuntu-latest

steps:
- uses: StuYarrow/[email protected]
with:
id: ${{ needs.build-and-release.outputs.release_id }}
# todo lho cannot find release id
# publish-release:
# name: Publish release
# needs: build-and-release-docker
# permissions:
# # write permission is required to create a github release
# contents: write
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: StuYarrow/[email protected]
# with:
# id: ${{ needs.build-and-release.outputs.release_id }}

0 comments on commit 1c8b185

Please sign in to comment.