Skip to content

Commit 459170b

Browse files
committed
chore(ci): use Python 3.13; bump upload-pages-artifact to v4; set minimal permissions
1 parent 3accd91 commit 459170b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-spec.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919
jobs:
2020
build:
2121
runs-on: macos-latest
22+
permissions:
23+
contents: read
2224
steps:
2325
- name: Debug - Show event info
2426
run: |
@@ -29,7 +31,7 @@ jobs:
2931
- uses: actions/checkout@v4
3032
- uses: actions/setup-python@v5
3133
with:
32-
python-version: '3.12'
34+
python-version: '3.13'
3335
cache: 'pip' # caching pip dependencies
3436
- name: Install dependencies and run generator
3537
run: |
@@ -38,7 +40,7 @@ jobs:
3840
echo "Running spec generator..."
3941
python spec-generator/main.py
4042
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v3
43+
uses: actions/upload-pages-artifact@v4
4244
with:
4345
# Upload the contents of the dist directory
4446
path: 'dist'
@@ -67,4 +69,4 @@ jobs:
6769
echo "Workflow run ID: ${{ github.run_id }}"
6870
- name: Deploy to GitHub Pages
6971
id: deployment
70-
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
72+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)