From b5133fa8835b12aa32d7c304e516d6d0dd490f50 Mon Sep 17 00:00:00 2001 From: Lennon McLean Date: Mon, 16 Aug 2021 15:41:32 -0400 Subject: [PATCH] Update buildnw.yml --- .github/workflows/buildnw.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildnw.yml b/.github/workflows/buildnw.yml index 48a1a0f..4aa43ad 100644 --- a/.github/workflows/buildnw.yml +++ b/.github/workflows/buildnw.yml @@ -4,7 +4,28 @@ on: [push, workflow_dispatch] jobs: - build: + buildnw: + name: Build NW.js apps + runs-on: ubuntu-latest + steps: + - name: Get repository code + uses: actions/checkout@v2 + with: + ref: ios + + - name: Install Cordova + run: npm install cordova -g + + - name: Add iOS platform + run: cordova platform add ios + + - name: Build iOS app + run: cordova build ios + + - name: list files + run: echo "main directory:" && ls && echo "ios build folder:" && ls platforms/ios/build && echo "emulator:" && ls platforms/ios/build/emulator + + buildnw: name: Build NW.js apps runs-on: ubuntu-latest steps: