Skip to content

Commit

Permalink
Add prerelease Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcCote committed Nov 30, 2023
1 parent df4ad72 commit 57d80b3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -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 }}
3 changes: 1 addition & 2 deletions textworld/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
__version__ = '1.6.0'
__prerelease__ = '1.6.0rc1'
__version__ = '1.6.0rc2'

0 comments on commit 57d80b3

Please sign in to comment.