-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Upload distribution package to release assets
To fix fedora release, broken in #272 Fixes #273 Signed-off-by: David Pascual <[email protected]>
- Loading branch information
1 parent
8e30c75
commit 6d6cdc6
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [pre-commit, test] | ||
if: github.repository == 'neoave/mrack' | ||
outputs: | ||
new_version: ${{ steps.set_version.outputs.new_version }} | ||
steps: | ||
- uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -86,6 +88,9 @@ jobs: | |
uses: relekang/[email protected] | ||
with: | ||
github_token: ${{ secrets.TIBORIS_GH_TOKEN }} | ||
- name: Set NEW_VERSION as output | ||
id: set_version | ||
run: echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT" | ||
|
||
copr-build: | ||
name: Copr 📦 build for mrack | ||
|
@@ -122,6 +127,10 @@ jobs: | |
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Upload Release Asset | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: gh release upload v${{ needs.release.outputs.new_version }} dist/* | ||
|
||
publish-to-pypi: | ||
name: >- | ||
|