Skip to content

Commit

Permalink
Merge ce0e2fd into dbe3512
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-rogers committed Dec 14, 2021
2 parents dbe3512 + ce0e2fd commit 29ce759
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Run Gradle on PRs
on:
push:
branches: [ mainline, release]
pull_request:
branches: [ mainline ]
branches: [ mainline, release]

jobs:
build:
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/push_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload Python Package
name: Upload Whylogs Packages


on:
Expand Down Expand Up @@ -52,14 +52,21 @@ jobs:
branch: ${{ github.ref }}
force: true

- name: Build and publish
- name: Build and publish Python
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make clean
make dist
poetry run twine upload dist/*
- name: Set up Java
uses: actions/setup-java@v1
- name: Build and publish Java
run: ./gradlew publish -PossrhUsername=${{ secrets.NEXUS_TOKEN_USERNAME }} -PossrhPassword=${{ secrets.NEXUS_TOKEN_PASSWORD }}
working-directory: java

bump_mainline:
runs-on: ubuntu-latest
needs: deploy
Expand Down Expand Up @@ -107,4 +114,4 @@ jobs:
team-reviewers: |
owners
maintainers
draft: false
draft: false

0 comments on commit 29ce759

Please sign in to comment.