From f0354a42c5733ba2e80eb6a926e0be309c364d73 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Wed, 28 Aug 2024 15:47:35 +0200 Subject: [PATCH] Split out non-Python assets in Publish Release workflow (#6440) --- .github/workflows/publish_release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index e2251129944..975aefbf5be 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -98,14 +98,14 @@ jobs: env: APP_YML_FILE: "Red-DiscordBot-${{ github.ref_name }}-default-lavalink-application.yml" run: | - mkdir -p dist - python .github/workflows/scripts/get_default_ll_server_config.py "dist/$APP_YML_FILE" + mkdir -p release_assets + python .github/workflows/scripts/get_default_ll_server_config.py "release_assets/$APP_YML_FILE" - name: Upload default application.yml uses: actions/upload-artifact@v3 with: name: ll-default-server-config - path: ./dist + path: ./release_assets release_to_pypi: needs: @@ -129,13 +129,13 @@ jobs: uses: actions/download-artifact@v3 with: name: ll-default-server-config - path: dist/ + path: release_assets/ - name: Upload dists to GitHub Release env: GITHUB_TOKEN: "${{ github.token }}" run: | - gh release upload "$GITHUB_REF_NAME" dist/* --repo "$GITHUB_REPOSITORY" + gh release upload "$GITHUB_REF_NAME" dist/* release_assets/* --repo "$GITHUB_REPOSITORY" - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1