-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all GitHub Actions workflows to latest generator template
- Loading branch information
Showing
12 changed files
with
34 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,25 @@ name: CI | |
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- uses: ./.github/actions/ci-action | ||
node-version: '22' | ||
- uses: iamsauravsharma/[email protected] | ||
with: | ||
file-path: '/tmp/.env' | ||
env: | ||
GITHUB_ACTIONS: ${{ env.GITHUB_ACTIONS }} | ||
- uses: cliffano/[email protected] | ||
with: | ||
command: 'make ci' | ||
image: cliffano/studio:2.5.0 | ||
shell: bash | ||
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 | ||
env_file: '/tmp/.env' | ||
- run: npm install -g gh-pages | ||
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <[email protected]>" --repo "https://cliffano:${{ secrets.OAPICF_GITHUB_TOKEN }}@github.com/oapicf/openapi-iplocation.git" | ||
- 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ name: Publish API Documentation | |
- '*' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -19,4 +19,4 @@ jobs: | |
CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot | ||
<[email protected]>" --repo "https://cliffano:${{ | ||
secrets.OAPICF_GITHUB_TOKEN | ||
}}@github.com/oapicf/openapi-iplocation.git" | ||
}}@github.com/oapicf/openapi-okta-ip-ranges.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,9 @@ name: Release Major | |
on: [workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cliffano/[email protected] | ||
with: | ||
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "pakkunbot" | ||
- run: npm install -g rtk | ||
- run: rtk release --release-increment-type major | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
tags: true | ||
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} | ||
release_type: 'major' | ||
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,9 @@ name: Release Minor | |
on: [workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cliffano/[email protected] | ||
with: | ||
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "pakkunbot" | ||
- run: npm install -g rtk | ||
- run: rtk release --release-increment-type minor | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
tags: true | ||
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} | ||
release_type: 'minor' | ||
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,9 @@ name: Release Patch | |
on: [workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cliffano/[email protected] | ||
with: | ||
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "pakkunbot" | ||
- run: npm install -g rtk | ||
- run: rtk release --release-increment-type patch | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
tags: true | ||
release_type: 'patch' | ||
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters