Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 11 additions & 35 deletions .github/workflows/fireback-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,40 +26,35 @@ on:
# - windows-x64
# - macosx
release_artifacts:
description: "Create a draft release with all artifacts"
description: "Create draft release"
required: false
default: false
type: boolean
github_pages:
description: "Deploy documents and fireback react to github pages"
description: "Deploy docs and demo to pages"
required: false
default: false
type: boolean
deploy_npm:
description: "Publish fireback ui libraries to npm"
required: false
default: false
type: boolean


fireback_windows:
description: "Build for windows"
description: "Build Windows"
required: false
default: true
default: false
type: boolean
fireback_macos:
description: "Build for macos"
description: "Build Macosx"
required: false
default: true
default: false
type: boolean
fireback_react:
description: "Build Fireback React"
description: "Build Fireback React Front-end"
required: false
default: true
default: false
type: boolean
fireback_capacitor:
description: "Build Capacitor"
description: "Build Capacitor Demo"
required: false
default: true
default: false
type: boolean
jobs:

Expand Down Expand Up @@ -443,25 +438,6 @@ jobs:
git diff --name-only
exit 1
fi

fireback-npm:
if: ${{ inputs.deploy_npm == true }}
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"

- run: |
cd modules/fireback/codegen/react-new/src/modules/fireback && npm version --no-git-tag-version 1.3.2-${{ github.sha }} && npm publish --tag=latest --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH }}


fireback-capacitor:
if: ${{ inputs.fireback_capacitor == true }}
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ dist
ui/public/md
cachemap.txt
cachemap.json
cmd/fireback-desktop/build/bin
cmd/fireback-npm/**/*/fireback
cmd/fireback-npm/**/*/fireback.exe
google-java-format.jar
*.msi
*.wixpdb
Expand Down
5 changes: 0 additions & 5 deletions cmd/fireback-npm/cli-darwin-arm64/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions cmd/fireback-npm/cli-darwin-arm64/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions cmd/fireback-npm/cli-darwin-x64/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions cmd/fireback-npm/cli-darwin-x64/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions cmd/fireback-npm/cli-linux-x64/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions cmd/fireback-npm/cli-linux-x64/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions cmd/fireback-npm/cli-win32-x64/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions cmd/fireback-npm/cli-win32-x64/package.json

This file was deleted.

Loading
Loading