From 71e661ce205e17548a0304d4ed4e2c8909af5686 Mon Sep 17 00:00:00 2001 From: TheBossMagnus Date: Fri, 18 Oct 2024 11:09:44 +0200 Subject: [PATCH] . Signed-off-by: TheBossMagnus --- .github/workflows/Release.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 07a2fb0..770ab3f 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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: @@ -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 \ No newline at end of file