Skip to content

Commit 03842a8

Browse files
committed
Update github actions scripts to latest versions
1 parent 2189a2a commit 03842a8

1 file changed

Lines changed: 17 additions & 65 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 17 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: macos-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
with:
1515
submodules: recursive
1616
fetch-depth: 0
@@ -36,7 +36,7 @@ jobs:
3636
fi
3737
3838
- name: Import Code-Signing Certificates
39-
uses: figleafteam/import-codesign-certs@v2
39+
uses: apple-actions/import-codesign-certs@v6
4040
if: ${{ steps.secret-check.outputs.available == 'true' }}
4141
with:
4242
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
@@ -64,24 +64,16 @@ jobs:
6464
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-macOS-Universal.pkg" "/plugdata-macOS-Universal.pkg.txt"
6565
6666
- name: Archive Artifacts
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@v6
6868
with:
6969
name: plugdata-macOS-Universal
7070
path: plugdata-macOS-Universal.pkg
7171

72-
- name: Release Artifacts
73-
uses: softprops/action-gh-release@v1
74-
if: startsWith(github.ref, 'refs/tags/')
75-
with:
76-
prerelease: true
77-
draft: true
78-
files: plugdata-macOS-Universal
79-
8072
macos-legacy-build:
8173
runs-on: macos-14
8274

8375
steps:
84-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@v6
8577
with:
8678
submodules: recursive
8779
fetch-depth: 0
@@ -107,7 +99,7 @@ jobs:
10799
fi
108100
109101
- name: Import Code-Signing Certificates
110-
uses: figleafteam/import-codesign-certs@v2
102+
uses: apple-actions/import-codesign-certs@v6
111103
if: ${{ steps.secret-check.outputs.available == 'true' }}
112104
with:
113105
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
@@ -135,23 +127,15 @@ jobs:
135127
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-macOS-Legacy.pkg" "/plugdata-macOS-Legacy.pkg.txt"
136128
137129
- name: Archive Artifacts
138-
uses: actions/upload-artifact@v4
130+
uses: actions/upload-artifact@v6
139131
with:
140132
name: plugdata-macOS-Legacy
141133
path: plugdata-macOS-Legacy.pkg
142134

143-
- name: Release Artifacts
144-
uses: softprops/action-gh-release@v1
145-
if: startsWith(github.ref, 'refs/tags/')
146-
with:
147-
prerelease: true
148-
draft: true
149-
files: plugdata-macOS-Legacy
150-
151135
windows-64-build:
152136
runs-on: windows-2022
153137
steps:
154-
- uses: actions/checkout@v4
138+
- uses: actions/checkout@v6
155139
with:
156140
submodules: recursive
157141
fetch-depth: 0
@@ -168,7 +152,7 @@ jobs:
168152
arch: x64
169153

170154
- name: Install Ninja
171-
uses: seanmiddleditch/gha-setup-ninja@v3
155+
uses: seanmiddleditch/gha-setup-ninja@v6
172156

173157
- name: Configure CMake
174158
working-directory: ${{github.workspace}}
@@ -196,24 +180,16 @@ jobs:
196180
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-Win64.msi" "/plugdata-Win64.msi.txt"
197181
198182
- name: Archive Artifacts
199-
uses: actions/upload-artifact@v4
183+
uses: actions/upload-artifact@v6
200184
with:
201185
name: plugdata-Win64
202186
path: plugdata-Win64.msi
203187

204-
- name: Release Artifacts
205-
uses: softprops/action-gh-release@v1
206-
if: startsWith(github.ref, 'refs/tags/')
207-
with:
208-
prerelease: true
209-
draft: true
210-
files: plugdata-Win64
211-
212188
windows-32-build:
213189
runs-on: windows-2022
214190

215191
steps:
216-
- uses: actions/checkout@v4
192+
- uses: actions/checkout@v6
217193
with:
218194
submodules: recursive
219195
fetch-depth: 0
@@ -230,7 +206,7 @@ jobs:
230206
arch: x86
231207

232208
- name: Install Ninja
233-
uses: seanmiddleditch/gha-setup-ninja@v3
209+
uses: seanmiddleditch/gha-setup-ninja@v6
234210

235211
- name: Configure CMake
236212
working-directory: ${{github.workspace}}
@@ -258,19 +234,11 @@ jobs:
258234
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-Win32.msi" "/plugdata-Win32.msi.txt"
259235
260236
- name: Archive Artifacts
261-
uses: actions/upload-artifact@v4
237+
uses: actions/upload-artifact@v6
262238
with:
263239
name: plugdata-Win32
264240
path: plugdata-Win32.msi
265241

266-
- name: Release Artifacts
267-
uses: softprops/action-gh-release@v1
268-
if: startsWith(github.ref, 'refs/tags/')
269-
with:
270-
prerelease: true
271-
draft: true
272-
files: plugdata-Win32
273-
274242
linux-x64-build:
275243
name: ${{ matrix.name }}
276244
runs-on: ubuntu-latest
@@ -323,7 +291,7 @@ jobs:
323291
if: ${{ matrix.pacman == 'pacman' }}
324292
run: pacman --noconfirm -Syu && pacman -S --noconfirm tar cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip ninja fontconfig libxkbcommon wayland libdecor && pacman --noconfirm -Syu
325293

326-
- uses: actions/checkout@v4
294+
- uses: actions/checkout@v6
327295
with:
328296
submodules: recursive
329297
fetch-depth: 0
@@ -364,19 +332,11 @@ jobs:
364332
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-${{ matrix.name }}.tar.xz" "/plugdata-${{ matrix.name }}.tar.xz.txt"
365333
366334
- name: Archive Artifacts
367-
uses: actions/upload-artifact@v4
335+
uses: actions/upload-artifact@v6
368336
with:
369337
name: plugdata-${{ matrix.name }}
370338
path: plugdata-${{ matrix.name }}.tar.xz
371339

372-
- name: Release Artifacts
373-
uses: softprops/action-gh-release@v1
374-
if: startsWith(github.ref, 'refs/tags/')
375-
with:
376-
prerelease: true
377-
draft: true
378-
files: plugdata-${{ matrix.name }}
379-
380340
linux-arm-build:
381341
name: ${{ matrix.name }}
382342
runs-on: ubuntu-24.04-arm
@@ -429,7 +389,7 @@ jobs:
429389
if: ${{ matrix.pacman == 'pacman' }}
430390
run: pacman --noconfirm -Syu && pacman -S --noconfirm tar cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip ninja fontconfig libxkbcommon wayland libdecor
431391

432-
- uses: actions/checkout@v4
392+
- uses: actions/checkout@v6
433393
with:
434394
submodules: recursive
435395
fetch-depth: 0
@@ -469,19 +429,11 @@ jobs:
469429
aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-${{ matrix.name }}.tar.xz" "/plugdata-${{ matrix.name }}.tar.xz.txt"
470430
471431
- name: Archive Artifacts
472-
uses: actions/upload-artifact@v4
432+
uses: actions/upload-artifact@v6
473433
with:
474434
name: plugdata-${{ matrix.name }}
475435
path: plugdata-${{ matrix.name }}.tar.xz
476436

477-
- name: Release Artifacts
478-
uses: softprops/action-gh-release@v1
479-
if: startsWith(github.ref, 'refs/tags/')
480-
with:
481-
prerelease: true
482-
draft: true
483-
files: plugdata-${{ matrix.name }}
484-
485437
push-nightlies:
486438
runs-on: ubuntu-latest
487439
needs:
@@ -523,7 +475,7 @@ jobs:
523475
path: release-package
524476

525477
- name: Upload combined package
526-
uses: actions/upload-artifact@v4
478+
uses: actions/upload-artifact@v6
527479
with:
528480
name: plugdata-all-platforms
529481
path: release-package

0 commit comments

Comments
 (0)