From 29af6299bac9721fcf3462e77d747fdbc7c76117 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 27 Feb 2024 20:31:18 +0000 Subject: [PATCH] github: Move nexus pack to ubuntu --- .github/workflows/nexus.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/nexus.yml b/.github/workflows/nexus.yml index 351531e76..e656e7c7d 100644 --- a/.github/workflows/nexus.yml +++ b/.github/workflows/nexus.yml @@ -10,8 +10,8 @@ on: jobs: build: - name: Build - runs-on: windows-2019 + name: Build and Deploy + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -32,7 +32,7 @@ jobs: **/node_modules key: ${{ runner.os }}-${{ hashFiles('package.json') }} - name: Install Dependencies - run: npm install --force + run: npm install if: steps.cache.outputs.cache-hit != 'true' env: CI: true @@ -44,24 +44,6 @@ jobs: run: npm run build - name: Pack run: npm run nexusPack - - name: Temporarily save zip - uses: actions/upload-artifact@v3 - with: - name: zip-artifact - path: dist/Flashpoint.zip - retention-days: 1 - - deploy: - name: Deploy - runs-on: ubuntu-latest - needs: build - - steps: - - name: Pass zip to Linux runner - uses: actions/download-artifact@v3 - with: - name: zip-artifact - path: dist/ - name: Generate Metadata run: | sudo apt install libarchive-zip-perl -y