-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
928a932
commit e7dcbfd
Showing
3 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
name: Upload to pypi | ||
name: Run Tests and upload to pypi | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
tests: | ||
uses: ./.github/workflows/test.yaml | ||
pypi-publish: | ||
name: Upload release to PyPI | ||
needs: [tests] # require tests to pass before deploy runs | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
|
@@ -15,13 +18,6 @@ jobs: | |
id-token: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.action_ref }} | ||
check-name: 'Run Tests' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Install pypa/build | ||
run: python -m pip install build | ||
- name: Build a binary wheel and a source tarball | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Run Tests | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
setup( | ||
name="vault-dump", | ||
version="0.0.1", | ||
version="0.0.2", | ||
author="Daniel Popescu", | ||
author_email="[email protected]", | ||
description="A package to dump the configuration settings for a running hashicorp vault instance", | ||
|