Skip to content

correct reset emulator to restore default memory mapping when switchi… #29

correct reset emulator to restore default memory mapping when switchi…

correct reset emulator to restore default memory mapping when switchi… #29

Workflow file for this run

name: Publish CEmu to PyPI
on:
workflow_dispatch:
push:
jobs:
publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
environment:
name: hugsy
url: https://pypi.org/p/cemu
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Requirements
run: |
python -m pip install --upgrade build wheel
- name: Build
run: |
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
print-hash: true