Skip to content

Add code for automatically releasing #12

Add code for automatically releasing

Add code for automatically releasing #12

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-test:
uses: cygporter/workflows/.github/workflows/build-test.yml@v2
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
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}
secrets:
maintainer_key: ${{ secrets.maintainer_key }}