fix logger #487
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build-Linux | |
| on: | |
| push: | |
| branches: [master] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| # Build job | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Not needed if lastUpdated is not enabled | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm # or pnpm / yarn | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build native | |
| run: npm run native | |
| - name: Build worker | |
| run: npm run worker | |
| - name: Build api | |
| run: npm run api | |
| - name: Build cli | |
| run: npm run cli:build:linux | |
| - name: Build sdk | |
| run: npm run build:sdk | |
| - name: Build APP | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npm run build:linux | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact-deb | |
| path: dist/*.deb | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact-rpm | |
| path: dist/*.rpm |