Skip to content

Commit

Permalink
Add code for automatically releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
me-and committed Nov 13, 2023
1 parent 0330209 commit 7d9419a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,23 @@ jobs:
with:
cygport_file: python-rfc6555.cygport
bootstrap_packages: cygport python38-wheel python39-wheel

github-release:
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: build-test
permissions:
contents: write
uses: cygporter/workflows/.github/workflows/github-release.yml@v2
with:
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}

cygwin-release:
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: [build-test, github-release]
uses: cygporter/workflows/.github/workflows/cygwin-release.yml@v2
with:
cygport_file: python-rfc6555.cygport
bootstrap_packages: cygport python38-wheel python39-wheel
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}
secrets:
maintainer_key: ${{ secrets.maintainer_key }}

0 comments on commit 7d9419a

Please sign in to comment.