Quickstart
The whole thing
Section titled “The whole thing”name: build
on: push: branches: [main] tags: ["v*"]
jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: dAppCore/build@v4 with: build-name: myAppThat detects the stack, installs the toolchains it needs, builds, uploads the result as a workflow artifact, and — on a tag — publishes a GitHub release.
Three platforms
Section titled “Three platforms”Nothing about the action changes per runner; the matrix does the work.
jobs: build: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v7 - uses: dAppCore/build@v4 with: build-name: myAppBuild without publishing
Section titled “Build without publishing”Useful on pull requests, where you want to know it compiles and nothing more.
- uses: dAppCore/build@v4 with: build-name: myApp package: falseWhen your app is not at the repository root
Section titled “When your app is not at the repository root”- uses: dAppCore/build@v4 with: build-name: myApp app-working-directory: apps/desktopPinning
Section titled “Pinning”Three levels, so you choose how much movement you want:
@v4 |
the newest v4 release — the usual choice |
@v4.2 |
the newest v4.2.x — bug fixes, no new behaviour |
@v4.2.0 |
never moves |
- uses: dAppCore/build@v4.2.0The floating tags only move when a release is cut, never on a commit to
main, so main running ahead of them is normal.
- uses: dAppCore/build@v4.1.0- How detection works — what it looks at, and how to override it
- Wails v3 · Wails v2 · Go binaries
- Inputs — the full list