From d0bc70c3eb71bcfb09cb64a2ba5d14abc0e72d50 Mon Sep 17 00:00:00 2001 From: Gajo Petrovic Date: Mon, 7 Dec 2020 02:14:59 +0900 Subject: [PATCH 1/4] test ci --- .github/workflows/launcher.yml | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/launcher.yml diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml new file mode 100644 index 00000000..d839cdd1 --- /dev/null +++ b/.github/workflows/launcher.yml @@ -0,0 +1,49 @@ +name: Launcher + +on: + push: + # push: + # paths: + # - 'dist_cfg/**' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup NodeJs + uses: actions/setup-node@v1 + with: + node-version: '12.x' + + - name: Setup Wine + run: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo DEBIAN_FRONTEND=noninteractive apt-get install wine32 -y + + - name: Clone parent directory + run: git clone https://github.com/gajop/spring-launcher-backend + + - name: Install builder dependencies + run: cd spring-launcher-backend && npm ci + + - name: Build Launcher + run: cd spring-launcher-backend && node src/builder/run_build.js Spring-SpringBoard/SpringBoard-Core --no-generic-backend + with: + github_token: ${{ secrets.github_token }} + + # - name: Upload build results + # uses: actions/upload-artifact@v2 + # with: + # name: Launcher + # path: | + # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.AppImage + # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.exe + # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.exe.blockmap + # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.yml \ No newline at end of file From a445944d0ba93568e6b70170140ac199e63d9017 Mon Sep 17 00:00:00 2001 From: Gajo Petrovic Date: Mon, 7 Dec 2020 02:17:34 +0900 Subject: [PATCH 2/4] + --- .github/workflows/launcher.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml index d839cdd1..5d0094c9 100644 --- a/.github/workflows/launcher.yml +++ b/.github/workflows/launcher.yml @@ -35,8 +35,8 @@ jobs: - name: Build Launcher run: cd spring-launcher-backend && node src/builder/run_build.js Spring-SpringBoard/SpringBoard-Core --no-generic-backend - with: - github_token: ${{ secrets.github_token }} + env: + GH_TOKEN: ${{ secrets.github_token }} # - name: Upload build results # uses: actions/upload-artifact@v2 From 96f08f5fa673e104d5a94f58d5537be0aa757f42 Mon Sep 17 00:00:00 2001 From: Gajo Petrovic Date: Mon, 7 Dec 2020 02:22:42 +0900 Subject: [PATCH 3/4] bump build --- .github/workflows/launcher.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml index 5d0094c9..fc790373 100644 --- a/.github/workflows/launcher.yml +++ b/.github/workflows/launcher.yml @@ -38,6 +38,7 @@ jobs: env: GH_TOKEN: ${{ secrets.github_token }} + # - name: Upload build results # uses: actions/upload-artifact@v2 # with: From 2c0125b4942f3dd4df48929f12b99a716f0881f7 Mon Sep 17 00:00:00 2001 From: Gajo Petrovic Date: Mon, 7 Dec 2020 02:29:01 +0900 Subject: [PATCH 4/4] ++ --- .github/workflows/launcher.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml index fc790373..6ac4a79f 100644 --- a/.github/workflows/launcher.yml +++ b/.github/workflows/launcher.yml @@ -37,14 +37,3 @@ jobs: run: cd spring-launcher-backend && node src/builder/run_build.js Spring-SpringBoard/SpringBoard-Core --no-generic-backend env: GH_TOKEN: ${{ secrets.github_token }} - - - # - name: Upload build results - # uses: actions/upload-artifact@v2 - # with: - # name: Launcher - # path: | - # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.AppImage - # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.exe - # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.exe.blockmap - # spring-launcher-backend/build/Spring-SpringBoard/SpringBoard-Core/dist/*.yml \ No newline at end of file