-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new workflow, new stix repo for updated pySigma version
- Loading branch information
1 parent
ab7ee4a
commit b713e87
Showing
3 changed files
with
927 additions
and
709 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,29 @@ | ||
name: Release to Test.PyPI | ||
on: | ||
push: | ||
branches: | ||
- '!main' | ||
- '!master' | ||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Poetry | ||
run: pipx install poetry | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
cache: poetry | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build packages | ||
run: poetry build | ||
- name: Configure Poetry | ||
run: | | ||
poetry config repositories.testpypi https://test.pypi.org/legacy/ | ||
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
- name: Publish to test PyPI | ||
if: ${{ github.event_name == 'push' }} | ||
run: poetry publish -r testpypi |
Oops, something went wrong.