Skip to content

Commit

Permalink
Update GitHub action script
Browse files Browse the repository at this point in the history
  • Loading branch information
frivoal committed Sep 5, 2024
1 parent bcbfcdf commit 2f1731e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ on: [push, pull_request]

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Build and deploy to gh-pages
if: ${{ github.repository == 'w3c/w3process' && github.event_name == 'push' }}
if: ${{ github.repository == 'w3c/process' && github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.W3CGRUNTBOT_TOKEN }}
GH_BRANCH: ${{ github.head_ref }}
GH_EVENT_NUMBER: ${{ github.event.number }}
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup python 3.10
- name: Setup python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.12"
architecture: x64
- name: Install bikeshed
run: |
Expand All @@ -29,16 +29,16 @@ jobs:
run: ./deploy.sh
shell: bash
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Check that the Process builds cleanly
if: ${{ github.repository != 'w3c/w3process' || github.event_name == 'pull_request' }}
if: ${{ github.repository != 'w3c/process' || github.event_name == 'pull_request' }}
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup python 3.10
- name: Setup python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.12"
architecture: x64
- name: Install bikeshed
run: |
Expand Down

0 comments on commit 2f1731e

Please sign in to comment.