-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/redcanaryco/AtomicTestHar…
- Loading branch information
Showing
8 changed files
with
507 additions
and
301 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: deploy-posixath | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
deploy-posixath: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
defaults: | ||
run: | ||
working-directory: | ||
posix | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --user pipenv | ||
pipenv install | ||
pipenv install hatch twine | ||
- name: Lint with black | ||
run: | | ||
pipenv run python -m black --check src/posixath/ | ||
- name: Build package | ||
run: pipenv run hatch build | ||
- name: Publish Package to PyPi | ||
run: pipenv run python -m twine upload dist/* | ||
env: | ||
TWINE_USERNAME: ${{secrets.PYPI_USERNAME}} | ||
TWINE_PASSWORD: ${{secrets.PYPI_PASSWORD}} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish PowerShell Module | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish-to-gallery: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build and publish | ||
run: | | ||
Publish-Module -Path '.' -NuGetApiKey "$Env:PGALLERY" | ||
shell: pwsh | ||
env: | ||
PGALLERY: ${{ secrets.PGALLERY }} |
Large diffs are not rendered by default.
Oops, something went wrong.
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 +1 @@ | ||
__version__ = "0.0.1" | ||
__version__ = "0.0.3" |
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
Oops, something went wrong.