Skip to content

Commit e7c1b1d

Browse files
committed
adapt last create-release job
1 parent af61ab4 commit e7c1b1d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ jobs:
325325
- name: Upload artifacts
326326
uses: actions/upload-artifact@v3
327327
with:
328-
name: ArduinoCreateAgent.app_${{ matrix.arch }}_notarized
329-
path: ArduinoCreateAgent*_${{ matrix.arch }}_notarized.* #TODO remove zip upload (not needed here)
328+
name: ArduinoCreateAgent_${{ matrix.arch }}_notarized
329+
path: ArduinoCreateAgent_${{ matrix.arch }}_notarized.dmg
330330
if-no-files-found: error
331331

332332
# This job is responsible for generating the installers (using installbuilder)
@@ -414,7 +414,7 @@ jobs:
414414

415415
create-release:
416416
runs-on: ubuntu-20.04
417-
needs: [build, code-sign-mac-installers]
417+
needs: [build, package]
418418

419419
steps:
420420
- name: Checkout
@@ -431,8 +431,7 @@ jobs:
431431
mkdir release
432432
chmod -v +x ArduinoCreateAgent-linux-amd64/*.run
433433
mv -v ArduinoCreateAgent-linux-amd64/* release/
434-
cat ArduinoCreateAgent-osx-amd64/*.tar | tar -xvf - -i -C release/
435-
rm -v release/._ArduinoCreateAgent*.dmg
434+
mv -v ArduinoCreateAgent_amd64_notarized/*.dmg release/
436435
mv -v ArduinoCreateAgent-windows*/* release/
437436
438437
- name: VirusTotal Scan

0 commit comments

Comments
 (0)