mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-05 09:01:18 -04:00
fix(GHA): use ubuntu 22.04 for now
This commit is contained in:
6
.github/workflows/deploy-legacy.yml
vendored
6
.github/workflows/deploy-legacy.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
jobs:
|
||||
setup-jobs:
|
||||
name: Setup Jobs
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
site_tld: ${{ steps.setup.outputs.site_tld }} # org, dev
|
||||
tgt_env_short: ${{ steps.setup.outputs.tgt_env_short }} # prd, stg
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
api:
|
||||
name: API (Legacy) - [${{ needs.setup-jobs.outputs.tgt_env_short }}]
|
||||
needs: [setup-jobs]
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
deployments: write
|
||||
contents: read
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
client:
|
||||
name: Clients - [${{ needs.setup-jobs.outputs.tgt_env_short }}] [${{ matrix.lang-name-short }}]
|
||||
needs: [setup-jobs, api]
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20]
|
||||
|
||||
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
jobs:
|
||||
static:
|
||||
name: Set Static Data
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
site_tld: ${{ steps.static_data.outputs.site_tld }}
|
||||
environment: ${{ steps.static_data.outputs.environment }}
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
deploy:
|
||||
name: Deploy to Docker Swarm -- ${{ needs.static.outputs.environment }}
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [static, build]
|
||||
env:
|
||||
TS_USERNAME: ${{ secrets.TS_USERNAME }}
|
||||
|
||||
2
.github/workflows/docker-docr.yml
vendored
2
.github/workflows/docker-docr.yml
vendored
@@ -34,7 +34,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build & Push
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
outputs:
|
||||
|
||||
2
.github/workflows/docker-ghcr.yml
vendored
2
.github/workflows/docker-ghcr.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
Reference in New Issue
Block a user