Skip to content

Commit

Permalink
ci: merge release workflows (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Feb 14, 2023
1 parent 481ba54 commit 44a18cd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
name: Publish to PyPi
name: Release

on:
release:
types: [published]
push:
branches:
- master

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.releases_created }}
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: python
package-name: togglCli

publish:
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.release_created == "true"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/release_github.yaml

This file was deleted.

0 comments on commit 44a18cd

Please sign in to comment.