diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml new file mode 100644 index 00000000..18702c38 --- /dev/null +++ b/.github/workflows/prerelease.yml @@ -0,0 +1,33 @@ +name: "Prerelease" + +# Trigger the create release workflow +on: + workflow_dispatch: + +env: + ARTIFACT: artifact.bin + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + python: [3.9, 3.10, 3.11, 3.12] + + steps: + - uses: actions/checkout@v3 + - name: Use Python ${{ matrix.python }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: python -m build + - uses: actions/upload-artifact@v2 + with: + name: build-${{ matrix.os }}-${{ github.sha }} + path: ${{ env.ARTIFACT }} diff --git a/textworld/version.py b/textworld/version.py index d61876d0..b3fa75d8 100644 --- a/textworld/version.py +++ b/textworld/version.py @@ -1,2 +1 @@ -__version__ = '1.6.0' -__prerelease__ = '1.6.0rc1' +__version__ = '1.6.0rc2'