Skip to content

Commit ce26074

Browse files
committed
fix gon not finding executable
1 parent a16bacd commit ce26074

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
uses: actions/download-artifact@v2
245245
with:
246246
name: ArduinoCreateAgent-osx
247-
path: $PWD
247+
path: ArduinoCreateAgent-osx
248248

249249
- name: Import Code-Signing Certificates
250250
uses: Apple-Actions/import-codesign-certs@v1
@@ -263,7 +263,7 @@ jobs:
263263
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
264264
run: |
265265
cat > gon.config_installer.hcl <<EOF
266-
source = ["ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app"]
266+
source = ["ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app"]
267267
bundle_id = "cc.arduino.arduino-agent-installer"
268268
269269
sign {
@@ -278,7 +278,7 @@ jobs:
278278
279279
- name: Code sign and notarize app
280280
run: |
281-
echo "gon will notarize executable ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${BROWSER}.app"
281+
echo "gon will notarize executable in ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app"
282282
gon -log-level=debug -log-json gon.config_installer.hcl
283283
env:
284284
AC_USERNAME: ${{ secrets.AC_USERNAME }}

0 commit comments

Comments
 (0)