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