mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-23 07:58:27 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -145,7 +145,7 @@ jobs:
|
||||
run: |-
|
||||
current_version=$(hatch version)
|
||||
PYAPP_PROJECT_PATH="${{ github.workspace }}/dist/isponsorblocktv-${current_version}-py3-none-any.whl" hatch -v build -t binary
|
||||
|
||||
|
||||
- name: Rename binary
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |-
|
||||
@@ -164,7 +164,7 @@ jobs:
|
||||
permissions:
|
||||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
||||
# only run step if the event is a published release
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get artifact
|
||||
@@ -179,10 +179,10 @@ jobs:
|
||||
|
||||
|
||||
publish-to-release:
|
||||
needs:
|
||||
needs:
|
||||
- build-sdist-and-wheel
|
||||
- build-binaries
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
@@ -193,4 +193,4 @@ jobs:
|
||||
- name: Add assets to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: dist/*
|
||||
files: dist/*
|
||||
|
||||
Reference in New Issue
Block a user