Skip to content

Commit b4f11a7

Browse files
authored
Merge pull request #114 from fjtrujy/ci/fixNodeWarnings
Fix warnings
2 parents 6d63bef + 0c2b757 commit b4f11a7

2 files changed

Lines changed: 18 additions & 21 deletions

File tree

‎.github/workflows/compilation.yml‎

Lines changed: 6 additions & 6 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')
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci
9696
. ./macports-ci install --remove-brew --version=2.11.5 --sync=rsync
97-
sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl
97+
sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl cmake
9898
9999
- name: Install MSYS2 packages
100100
if: startsWith(matrix.os.runs-on, 'windows')
@@ -105,7 +105,7 @@ jobs:
105105
base-devel git make texinfo flex bison patch binutils mpc-devel tar wget curl
106106
autotools gettext gettext-devel
107107
mingw-w64-i686-readline mingw-w64-i686-gcc mingw-w64-i686-cmake
108-
mingw-w64-i686-make mingw-w64-i686-libogg
108+
mingw-w64-i686-make mingw-w64-i686-libogg mingw-w64-i686-libgnurx
109109
update: true
110110

111111
- name: Runs all the stages in the shell
@@ -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: 12 additions & 15 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 }}
@@ -63,13 +63,10 @@ jobs:
6363
6464
- name: Docker meta
6565
id: meta
66-
uses: docker/metadata-action@v5
66+
uses: docker/metadata-action@v6
6767
with:
6868
images: ghcr.io/${{ github.repository }}
6969

70-
- name: Set up Docker Buildx
71-
uses: docker/setup-buildx-action@v3
72-
7370
- name: Build and Push to container registry
7471
id: build
7572
uses: docker/build-push-action@v6
@@ -87,7 +84,7 @@ jobs:
8784
touch "${{ runner.temp }}/digests/${digest#sha256:}"
8885
8986
- name: Upload digest
90-
uses: actions/upload-artifact@v4
87+
uses: actions/upload-artifact@v7
9188
with:
9289
name: digests-${{ env.PLATFORM_PAIR }}
9390
path: ${{ runner.temp }}/digests/*
@@ -107,29 +104,29 @@ jobs:
107104

108105
steps:
109106
- name: Checkout repository
110-
uses: actions/checkout@v4
107+
uses: actions/checkout@v7
111108

112109
- name: Install Ubuntu packages
113110
run: |
114111
sudo apt-get -y update
115112
sudo apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install jq
116113
117114
- name: Download digests
118-
uses: actions/download-artifact@v4
115+
uses: actions/download-artifact@v7
119116
with:
120117
path: ${{ runner.temp }}/digests
121118
pattern: digests-*
122119
merge-multiple: true
123120

124121
- name: Login to DockerHub
125-
uses: docker/login-action@v3
122+
uses: docker/login-action@v4
126123
if: env.DOCKER_USERNAME != null
127124
with:
128125
username: ${{ env.DOCKER_USERNAME }}
129126
password: ${{ env.DOCKER_PASSWORD }}
130127

131128
- name: Login to Github Container Registry
132-
uses: docker/login-action@v3
129+
uses: docker/login-action@v4
133130
with:
134131
registry: ghcr.io
135132
username: ${{ github.actor }}
@@ -157,14 +154,14 @@ jobs:
157154
158155
- name: Docker meta
159156
id: meta
160-
uses: docker/metadata-action@v5
157+
uses: docker/metadata-action@v6
161158
with:
162159
images: ${{ env.DOCKER_CONTAINER_LIST }}
163160
tags: |
164161
type=raw,value=${{ env.DOCKER_TAG }}
165162
166163
- name: Set up Docker Buildx
167-
uses: docker/setup-buildx-action@v3
164+
uses: docker/setup-buildx-action@v4
168165

169166
- name: Create manifest list and push
170167
working-directory: ${{ runner.temp }}/digests
@@ -212,7 +209,7 @@ jobs:
212209
printf 'NEW_DISPATCH_ACTION=%s\n' "$DISPATCH_ACTION" >> $GITHUB_ENV
213210
214211
- name: Repository Dispatch to ${{ matrix.dest-repo }}
215-
uses: peter-evans/repository-dispatch@v3
212+
uses: peter-evans/repository-dispatch@v4
216213
if: env.DISPATCH_TOKEN != null && !contains(matrix.dest-repo, '/')
217214
with:
218215
repository: ${{ github.repository_owner }}/${{ matrix.dest-repo }}
@@ -221,7 +218,7 @@ jobs:
221218
client-payload: '{"ref": "${{ github.ref }}", "parent_name": "${{ env.PAYLOAD_REPO_PARENT_NAME }}", "parent_sha": "${{ env.PAYLOAD_REPO_PARENT_SHA }}"}'
222219

223220
- name: Repository Dispatch to specific ${{ matrix.dest-repo }}
224-
uses: peter-evans/repository-dispatch@v3
221+
uses: peter-evans/repository-dispatch@v4
225222
if: env.DISPATCH_TOKEN != null && contains(matrix.dest-repo, '/')
226223
with:
227224
repository: ${{ matrix.dest-repo }}

0 commit comments

Comments
 (0)