Skip to content

Commit d734a53

Browse files
committed
Update all GitHub Actions workflows to latest generator template.
1 parent 47b979b commit d734a53

11 files changed

+27
-24
lines changed

.github/actions/ci-action/Dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/actions/ci-action/action.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/actions/ci-action/entrypoint.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/ci-workflow.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,25 @@ name: CI
33
on: [push, pull_request, workflow_dispatch]
44
jobs:
55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-22.04
77
steps:
88
- uses: actions/checkout@v4
99
with:
1010
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version: '22'
14-
- uses: ./.github/actions/ci-action
14+
- uses: iamsauravsharma/[email protected]
15+
with:
16+
file-path: '/tmp/.env'
17+
env:
18+
GITHUB_ACTIONS: ${{ env.GITHUB_ACTIONS }}
19+
- uses: cliffano/[email protected]
20+
with:
21+
command: 'make ci'
22+
image: cliffano/studio:2.5.0
23+
shell: bash
24+
extra_path: /usr/local/go/bin:/usr/local/maven/bin:/usr/local/node/bin:/usr/local/openjdk-jdk/bin:/root/.cargo/bin:/root/go/bin
25+
env_file: '/tmp/.env'
1526
- run: npm install -g gh-pages
16-
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <[email protected]>" --repo "https://cliffano:${{ secrets.OAPICF_GITHUB_TOKEN }}@github.com/oapicf/openapi-ipify.git"
27+
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <[email protected]>" --repo "https://cliffano:${{ secrets.OAPICF_GITHUB_TOKEN }}@github.com/oapicf/openapi-okta-ip-ranges.git"

.github/workflows/publish-doc-workflow.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ name: Publish API Documentation
55
- '*'
66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
with:
1212
token: ${{ secrets.OAPICF_GITHUB_TOKEN }}
1313
ref: main
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: '22'
16+
node-version: '20'
1717
- run: make deps init-spec doc-latest doc-version
1818
- run: >-
1919
CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot
2020
<[email protected]>" --repo "https://cliffano:${{
21-
secrets.OAPICF_GITHUB_TOKEN }}@github.com/oapicf/openapi-ipify.git"
21+
secrets.OAPICF_GITHUB_TOKEN
22+
}}@github.com/oapicf/openapi-okta-ip-ranges.git"

.github/workflows/publish-javascript-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish JavaScript
55
- '*'
66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
with:

.github/workflows/publish-python-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish Python
55
- '*'
66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
with:

.github/workflows/publish-ruby-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish Ruby
55
- '*'
66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
with:

.github/workflows/release-major-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Release Major
33
on: [workflow_dispatch]
44
jobs:
55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-22.04
77
steps:
8-
- uses: cliffano/release-action@main
8+
- uses: cliffano/release-action@v1.0.0
99
with:
1010
release_type: 'major'
1111
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}

.github/workflows/release-minor-workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Release Minor
33
on: [workflow_dispatch]
44
jobs:
55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-22.04
77
steps:
8-
- uses: cliffano/release-action@main
8+
- uses: cliffano/release-action@v1.0.0
99
with:
1010
release_type: 'minor'
1111
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)