Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: TheBossMagnus <[email protected]>
  • Loading branch information
TheBossMagnus committed Oct 18, 2024
1 parent 58ece63 commit 71e661c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,19 @@ jobs:
name: Modpack-Changelogger-${{ env.RELEASE_TAG }}
path: dist/ModpackChangelogger*


- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.get_tag.outputs.upload_url }}
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/ModpackChangelogger-${{ env.RELEASE_TAG }}.exe
asset_name: ModpackChangelogger-${{ env.RELEASE_TAG }}.exe
asset_content_type: application/octet-stream


upload_and_publish:
name: Publish release to PyPI
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: "https://pypi.org/p/modpack-changelogger"
permissions:
id-token: write
steps:
Expand All @@ -70,4 +64,4 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 71e661c

Please sign in to comment.