Skip to content

Commit

Permalink
github: Move nexus pack to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Feb 27, 2024
1 parent 857c0ba commit 29af629
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 29af629

Please sign in to comment.