Skip to content

Commit

Permalink
action publish PreRelease and Release
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed Jul 31, 2023
1 parent d4d3de8 commit fa29121
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,30 @@ jobs:
- name: setup
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 14
- name: Delete package.json
run: rm -f src/366x366/package.json
- name: Move Pre-Release package.json
run: rm -f mv src/366x366/pr-package.json src/366x366/package.json
- name: install
run: npm install
run: npm install
- name: build
run: npx fitbit-build
- name: Upload fba
uses: actions/upload-artifact@v3
with:
name: pr-fitbit-overview
path: src/366x366/build/app.fba
- name: Delete package.json
run: rm -f src/366x366/package.json
- name: Move Release package.json
run: rm -f mv src/366x366/real-package.json src/366x366/package.json
- name: install
run: npm install
- name: build
run: npx fitbit-build
- name: Upload fba
uses: actions/upload-artifact@v3
with:
name: fitbit-overview
path: src/366x366/build/*.fba
path: src/366x366/build/app.fba

0 comments on commit fa29121

Please sign in to comment.