From 9aaffec54d395fd722372d02b9410a31562fd281 Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Tue, 24 May 2022 12:03:03 +0200 Subject: [PATCH] Add listing all files in dist dir --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eecd466..07705e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,8 @@ jobs: run: npm run build && electron-builder --linux && electron-builder --arm64 --linux && electron-builder --armv7l --linux env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: List all files in the dist directory + run: ls dist - name: Delete unpacked builds run: rm -rf dist/linux-unpacked && rm -rf dist/linux-arm64-unpacked && rm -rf dist/linux-armv7l-unpacked - name: Upload artifact @@ -59,6 +61,8 @@ jobs: run: npm run build && electron-builder --macos env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: List all files in the dist directory + run: ls dist - name: Delete unpacked builds run: rm -rf dist/macos-unpacked @@ -140,7 +144,7 @@ jobs: script: | console.log('environment', process.versions); - const fs = require('fs').promises; + const fs = require('fs'); const { repo: { owner, repo }, sha } = context; console.log({ owner, repo, sha });