Skip to content

Commit

Permalink
Added new workflow, new stix repo for updated pySigma version
Browse files Browse the repository at this point in the history
  • Loading branch information
slincoln-systemtwo committed Dec 27, 2023
1 parent ab7ee4a commit b713e87
Show file tree
Hide file tree
Showing 3 changed files with 927 additions and 709 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-test.yml
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
Loading

0 comments on commit b713e87

Please sign in to comment.