Skip to content

Commit

Permalink
Merge pull request #2 from oapicf/gh-actions-upgrades
Browse files Browse the repository at this point in the history
Update GH actions to v4 and node version to 20.
  • Loading branch information
cliffano authored Mar 14, 2024
2 parents db58312 + 7fcca39 commit fdf0b24
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- uses: ./.github/actions/ci-action
- run: npm install -g gh-pages
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <[email protected]>" --repo "https://cliffano:${{ secrets.STUDIO_GITHUB_TOKEN }}@github.com/oapicf/endoflife.date-api-clients.git"
6 changes: 3 additions & 3 deletions .github/workflows/publish-doc-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
ref: main
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: make deps init-spec doc-latest doc-version
- run: >-
CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-javascript-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
ref: main
- uses: ./.github/actions/publish-javascript-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-python-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
ref: main
- uses: ./.github/actions/publish-python-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-ruby-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
ref: main
- uses: ./.github/actions/publish-ruby-action
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
Expand Down
2 changes: 1 addition & 1 deletion clients/java/generated/.github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
java: [ '8' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion clients/r/generated/.github/workflows/r-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Expand Down

0 comments on commit fdf0b24

Please sign in to comment.