Skip to content

Commit 5b34458

Browse files
prevent from running concurrent jobs
1 parent 4a91de7 commit 5b34458

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/package.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,14 @@ jobs:
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474

75-
publish_pypi_index:
76-
name: Build a PyPI-compatible index
75+
publish_simple_package_index:
76+
name: Build&publish a PyPI-compatible package index
7777
runs-on: ubuntu-latest
7878
needs: [create_release_artifacts]
7979
if: always() && !failure() && !cancelled() && (github.event_name == 'push')
80+
concurrency:
81+
group: simple_package_index
82+
cancel-in-progress: true
8083
permissions:
8184
contents: write
8285
actions: read
@@ -100,4 +103,9 @@ jobs:
100103
path: 'dist'
101104

102105
- name: Deploy to GitHub Pages
106+
id: deployment
103107
uses: actions/deploy-pages@v4
108+
109+
- name: Display GitHub Pages URL
110+
run: |
111+
echo "Package Index URL: ${{ steps.deployment.outputs.page_url }}"

0 commit comments

Comments
 (0)