[ADD] Add label print support #6
Workflow file for this run
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: Wails build | |
| on: | |
| push: | |
| tags: | |
| # Match any new tag | |
| - '*' | |
| env: | |
| # Necessary for most environments as build failure can occur due to OOM issues | |
| NODE_OPTIONS: "--max-old-space-size=4096" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| build: | |
| - name: 'epos-proxy-linux64' | |
| platform: 'linux/amd64' | |
| os: 'ubuntu-latest' | |
| - name: 'epos-proxy-win64' | |
| platform: 'windows/amd64' | |
| os: 'windows-latest' | |
| # Disable automatic macOS builds for now as it's better to sign in a local environment | |
| # with the correct certificates and provisioning profiles. | |
| #- name: 'epos-proxy-macos-arm64' | |
| # macos-app-name: 'ePOS proxy' | |
| # platform: 'darwin/arm64' | |
| # os: 'macos-latest' | |
| runs-on: ${{ matrix.build.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Build wails | |
| uses: ./.github/actions | |
| id: build | |
| with: | |
| build-name: ${{ matrix.build.name }} | |
| build-platform: ${{ matrix.build.platform }} | |
| macos-app-name: ${{ matrix.build.macos-app-name }} | |
| package: true | |
| go-version: '1.26.0' | |
| node-version: '22.20.0' | |
| token: ${{ secrets.GITHUB_TOKEN }} |