Skip to content

Commit

Permalink
ci: upgrade CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
codingben committed Nov 18, 2024
1 parent 000a438 commit 9b9d043
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build And Push
uses: docker/build-push-action@v4
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/game-docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login To DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build And Push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./src/game-service/Game.Application
file: ./src/game-service/Game.Application/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/game-service-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: "5.0.x"
- name: Game Application Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/interest-management-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: "5.0.x"
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-k8s-manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup kustomize
uses: imranismail/setup-kustomize@v2
- name: Generate release manifests
run: kustomize build ./kustomize > ./release/kubernetes-manifests.yaml
- name: Create pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v7
with:
token: ${{ github.token }}
commit-message: "chore: update kubernetes manifests"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unity-build-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update Game Data
run: |
# Set Download Game Files Variables
Expand All @@ -38,7 +38,7 @@ jobs:
mv ${BUILD_PATH} ${FILES_PATH}
rm ${ARTIFACT_NAME}
rm -r ${PLATFORM}
- uses: EndBug/add-and-commit@v8
- uses: EndBug/add-and-commit@v9
with:
message: "build(frontend): update game files"
default_author: github_actions
6 changes: 3 additions & 3 deletions .github/workflows/unity-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
targetPlatform:
- WebGL
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
Expand All @@ -54,7 +54,7 @@ jobs:
projectPath: ${{ env.PROJECT_PATH }}
unityVersion: ${{ env.UNITY_VERSION }}
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Build
path: build

0 comments on commit 9b9d043

Please sign in to comment.