Skip to content

Commit

Permalink
Merge pull request #9 from hydra-genetics/Smeds-patch-3
Browse files Browse the repository at this point in the history
ci: Update release-please.yaml
  • Loading branch information
Smeds authored Apr 25, 2024
2 parents 7bc2ea2 + f4ef52d commit 49e4b3e
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,25 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
release-type: python
package-name: hydra-genetics
package-name: test
default-branch: main
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
Expand All @@ -28,3 +32,11 @@ jobs:
with:
python-version: '3.x'

- name: Build package
if: ${{ steps.release.outputs.release_created }}
run: |
python3 -c "print('TEST')"
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
run: |
python3 -c "print('TEST3')"

0 comments on commit 49e4b3e

Please sign in to comment.