Skip to content

Commit

Permalink
Now with working asset uploads (#21)
Browse files Browse the repository at this point in the history
* Which way do slashes go anyway?

* try paths the other way because why not

* re-enable pypi distribution, bump version
  • Loading branch information
j9ac9k authored Apr 10, 2023
1 parent 18f4aac commit c1b6014
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ on:
types: [published]

jobs:
# deploy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.x'
# - name: Install dependencies
# run: |
# python -m pip install build
# pip install build twine setuptools
# - name: Build and publish
# env:
# TWINE_USERNAME: __token__
# # The PYPI_PASSWORD must be a pypi token with the "pypi-" prefix with sufficient permissions to upload this package
# # https://pypi.org/help/#apitoken
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: |
# python3 -m build
# twine upload dist/*
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install build
pip install build twine setuptools
- name: Build and publish
env:
TWINE_USERNAME: __token__
# The PYPI_PASSWORD must be a pypi token with the "pypi-" prefix with sufficient permissions to upload this package
# https://pypi.org/help/#apitoken
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python3 -m build
twine upload dist/*
make_executable:
runs-on: windows-latest
steps:
Expand All @@ -50,10 +50,10 @@ jobs:
cli.py
- name: Zip Output
run: |
&"C:/Program Files/7-Zip/7z.exe" a dist\doppkit-win64-cli.exe dist\doppkit-win64-cli.zip
&"C:/Program Files/7-Zip/7z.exe" a ./dist/doppkit-win64-cli.zip ./dist/doppkit-win64-cli.exe
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
with:
files: |
dist\doppkit-win64-cli.zip
dist\doppkit-win64-cli.exe
dist/doppkit-win64-cli.zip
dist/doppkit-win64-cli.exe
2 changes: 1 addition & 1 deletion src/doppkit/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.9"
__version__ = "0.1.10"

0 comments on commit c1b6014

Please sign in to comment.