Skip to content

Commit d385cc6

Browse files
authored
Merge pull request #70 from fjtrujy/ci/fixNodeWarnings
Fix node warnings
2 parents 3fe7fd7 + fdc19be commit d385cc6

2 files changed

Lines changed: 17 additions & 20 deletions

File tree

.github/workflows/compilation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575

7676
steps:
7777
- name: Checkout repository
78-
uses: actions/checkout@v4
78+
uses: actions/checkout@v7
7979

8080
- name: Install Ubuntu packages
8181
if: startsWith(matrix.os.runs-on, 'ubuntu')
@@ -127,7 +127,7 @@ jobs:
127127
tar -zcvf ps2dev-${{ matrix.os.runs-on }}.tar.gz ps2dev
128128
129129
- name: Upload artifact
130-
uses: actions/upload-artifact@v4
130+
uses: actions/upload-artifact@v7
131131
with:
132132
name: ${{ github.event.repository.name }}-${{ matrix.os.runs-on }}-ps2dev-${{ matrix.os.architecture }}-${{ matrix.os.macos-package-manager }}-${{ steps.slug.outputs.sha8 }}
133133
path: ps2dev-${{ matrix.os.runs-on }}.tar.gz
@@ -139,7 +139,7 @@ jobs:
139139

140140
- name: Create pre-release
141141
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port'
142-
uses: softprops/action-gh-release@v2
142+
uses: softprops/action-gh-release@v3
143143
with:
144144
files: ps2dev-${{ matrix.os.runs-on }}.tar.gz
145145
prerelease: true
@@ -150,7 +150,7 @@ jobs:
150150

151151
- name: Release
152152
if: startsWith(github.ref, 'refs/tags/') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port'
153-
uses: softprops/action-gh-release@v2
153+
uses: softprops/action-gh-release@v3
154154
with:
155155
files: ps2dev-${{ matrix.os.runs-on }}.tar.gz
156156
tag_name: ${{ steps.tag.outputs.VERSION }}

.github/workflows/docker.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v7
3333

3434
- name: Prepare
3535
run: |
3636
platform=${{ matrix.platform.container-platform }}
3737
printf 'PLATFORM_PAIR=%s\n' "${platform//\//-}" >> $GITHUB_ENV
3838
3939
- name: Login to Github Container Registry
40-
uses: docker/login-action@v3
40+
uses: docker/login-action@v4
4141
with:
4242
registry: ghcr.io
4343
username: ${{ github.actor }}
@@ -53,16 +53,13 @@ jobs:
5353
5454
- name: Docker meta
5555
id: meta
56-
uses: docker/metadata-action@v5
56+
uses: docker/metadata-action@v6
5757
with:
5858
images: ghcr.io/${{ github.repository }}
5959

60-
- name: Set up Docker Buildx
61-
uses: docker/setup-buildx-action@v3
62-
6360
- name: Build and Push to container registry
6461
id: build
65-
uses: docker/build-push-action@v6
62+
uses: docker/build-push-action@v7
6663
with:
6764
platforms: ${{ matrix.platform.container-platform }}
6865
labels: ${{ steps.meta.outputs.labels }}
@@ -77,7 +74,7 @@ jobs:
7774
touch "${{ runner.temp }}/digests/${digest#sha256:}"
7875
7976
- name: Upload digest
80-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v7
8178
with:
8279
name: digests-${{ env.PLATFORM_PAIR }}
8380
path: ${{ runner.temp }}/digests/*
@@ -97,29 +94,29 @@ jobs:
9794

9895
steps:
9996
- name: Checkout repository
100-
uses: actions/checkout@v4
97+
uses: actions/checkout@v7
10198

10299
- name: Install Ubuntu packages
103100
run: |
104101
sudo apt-get -y update
105102
sudo apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install jq
106103
107104
- name: Download digests
108-
uses: actions/download-artifact@v4
105+
uses: actions/download-artifact@v7
109106
with:
110107
path: ${{ runner.temp }}/digests
111108
pattern: digests-*
112109
merge-multiple: true
113110

114111
- name: Login to DockerHub
115-
uses: docker/login-action@v3
112+
uses: docker/login-action@v4
116113
if: env.DOCKER_USERNAME != null
117114
with:
118115
username: ${{ env.DOCKER_USERNAME }}
119116
password: ${{ env.DOCKER_PASSWORD }}
120117

121118
- name: Login to Github Container Registry
122-
uses: docker/login-action@v3
119+
uses: docker/login-action@v4
123120
with:
124121
registry: ghcr.io
125122
username: ${{ github.actor }}
@@ -147,14 +144,14 @@ jobs:
147144
148145
- name: Docker meta
149146
id: meta
150-
uses: docker/metadata-action@v5
147+
uses: docker/metadata-action@v6
151148
with:
152149
images: ${{ env.DOCKER_CONTAINER_LIST }}
153150
tags: |
154151
type=raw,value=${{ env.DOCKER_TAG }}
155152
156153
- name: Set up Docker Buildx
157-
uses: docker/setup-buildx-action@v3
154+
uses: docker/setup-buildx-action@v4
158155

159156
- name: Create manifest list and push
160157
working-directory: ${{ runner.temp }}/digests
@@ -202,7 +199,7 @@ jobs:
202199
printf 'NEW_DISPATCH_ACTION=%s\n' "$DISPATCH_ACTION" >> $GITHUB_ENV
203200
204201
- name: Repository Dispatch to ${{ matrix.dest-repo }}
205-
uses: peter-evans/repository-dispatch@v3
202+
uses: peter-evans/repository-dispatch@v4
206203
if: env.DISPATCH_TOKEN != null && !contains(matrix.dest-repo, '/')
207204
with:
208205
repository: ${{ github.repository_owner }}/${{ matrix.dest-repo }}
@@ -211,7 +208,7 @@ jobs:
211208
client-payload: '{"ref": "${{ github.ref }}", "parent_name": "${{ env.PAYLOAD_REPO_PARENT_NAME }}", "parent_sha": "${{ env.PAYLOAD_REPO_PARENT_SHA }}"}'
212209

213210
- name: Repository Dispatch to specific ${{ matrix.dest-repo }}
214-
uses: peter-evans/repository-dispatch@v3
211+
uses: peter-evans/repository-dispatch@v4
215212
if: env.DISPATCH_TOKEN != null && contains(matrix.dest-repo, '/')
216213
with:
217214
repository: ${{ matrix.dest-repo }}

0 commit comments

Comments
 (0)