From d7abfc267d20c8fc6806b4a107627c494adce173 Mon Sep 17 00:00:00 2001 From: lightest Date: Tue, 29 Aug 2023 14:10:09 +0100 Subject: [PATCH 1/2] working on gh actions. --- .github/workflows/main.yml | 40 +++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbeac5e..78e523a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,28 +2,24 @@ name: "Build Branch" on: workflow_dispatch jobs: - build_all: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - with: - path: app + build_all: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + path: app - - uses: actions/setup-node@master - with: + - uses: actions/setup-node@master + with: node-version: 19 - - - name: Install Node dependencies - run: | - cd app - npm install - - name: Build - env: - CODESIGN_PASSWORD: ${{ secrets.OST_CERT_PWORD }} - CODESIGN_FILE: "codesign-certificate.pfx" - CODESIGN_B64: ${{ secrets.OST_CERT_B64 }} - run: | - cd app - npm run build:js - ls out + - name: Install Node dependencies + run: | + cd app + npm install + + - name: Build + run: | + cd app + npm run build:js + ls out From 6c3fcfa99dd969270dd81bb7387f62a7282539c7 Mon Sep 17 00:00:00 2001 From: lightest Date: Tue, 29 Aug 2023 14:13:50 +0100 Subject: [PATCH 2/2] working on workflows. --- .github/workflows/main.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78e523a..0300db9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,20 +6,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - with: - path: app - + with: + path: app - uses: actions/setup-node@master - with: - node-version: 19 + with: + node-version: 19 + - name: Install Node dependencies + run: | + cd app + npm install - - name: Install Node dependencies - run: | - cd app - npm install - - - name: Build - run: | - cd app - npm run build:js - ls out + - name: Build + run: | + cd app + npm run build:js + ls out