Skip to content

Commit

Permalink
[CI] removed comments + cleanup (#100)
Browse files Browse the repository at this point in the history
## Description

[CI] removed comments + cleanup
  • Loading branch information
hugsy authored Aug 1, 2024
1 parent f96c22b commit 4325764
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish CEmu to PyPI
name: Publish to PyPI

on:
workflow_dispatch:
Expand All @@ -14,35 +14,24 @@ jobs:
environment:
name: hugsy
url: https://pypi.org/p/cemu

permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Setup
uses: actions/setup-python@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: "Install Pre-requisite"
uses: eifinger/setup-rye@v4
- uses: eifinger/setup-rye@v4
with:
version: 'latest'

- run: rye build --wheel --out ./publish

# - name: Requirements
# run: |
# python -m pip install --upgrade build wheel

# - name: Build
# run: |
# python -m build
- run: rye build --wheel

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
print-hash: true
packages-dir: publish/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ python -m cemu

This should produce a GUI similar to this:

![cemu-gui](cemu/img/cemu-windows-light.png)
![cemu-gui](cemu/img/cemu-windows-dark.png)
![cemu-gui](src/cemu/img/cemu-windows-light.png)
![cemu-gui](src/cemu/img/cemu-windows-dark.png)

### In the terminal

Expand Down

0 comments on commit 4325764

Please sign in to comment.