Skip to content

Commit 0ca509f

Browse files
committed
add debug steps
1 parent 9e58456 commit 0ca509f

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
path: ${{ matrix.executable-path }}
178178

179179
- name: Make executable
180-
run: chmod +x ${{ matrix.executable-path }}arduino-create-agent*
180+
run: chmod -v +x ${{ matrix.executable-path }}arduino-create-agent*
181181
if: matrix.operating-system == 'ubuntu-latest' || matrix.operating-system == 'macOS-latest'
182182

183183
- name: Rename executable to Arduino_Create_Bridge
@@ -247,7 +247,7 @@ jobs:
247247
path: ArduinoCreateAgent-osx
248248

249249
- name: Make executable
250-
run: chmod +x ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app/Contents/MacOS/*
250+
run: chmod -v +x ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app/Contents/MacOS/*
251251

252252
- name: Import Code-Signing Certificates
253253
uses: Apple-Actions/import-codesign-certs@v1
@@ -261,6 +261,7 @@ jobs:
261261
run: |
262262
brew tap mitchellh/gon
263263
brew install mitchellh/gon/gon
264+
brew install tree # debug
264265
265266
- name: Write gon config to file
266267
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
@@ -279,6 +280,11 @@ jobs:
279280
}
280281
EOF
281282
283+
- name: tree debug
284+
run: |
285+
tree
286+
ls -lah ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app/Contents/MacOS/*
287+
282288
- name: Code sign and notarize app
283289
run: |
284290
echo "gon will notarize executable in ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.app"
@@ -287,9 +293,19 @@ jobs:
287293
AC_USERNAME: ${{ secrets.AC_USERNAME }}
288294
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
289295

296+
- name: tree debug
297+
run: |
298+
tree
299+
ls -lah
300+
290301
- name: Tar files to keep permissions
291302
run: tar -cvf ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.tar ArduinoCreateAgent-${GITHUB_REF##*/}-osx-installer-${{ matrix.browser }}.dmg
292303

304+
- name: tree debug
305+
run: |
306+
tree
307+
ls -lah
308+
293309
- name: Upload artifacts
294310
uses: actions/upload-artifact@v2
295311
with:

0 commit comments

Comments
 (0)