docs(release): state the naming convention and stop hardcoding wallet… #2320
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: 'Deterministic builds' | |
| on: | |
| workflow_dispatch: null | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| - synchronize | |
| - labeled | |
| merge_group: | |
| types: [checks_requested] | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - '**/release**' | |
| - '**/build**' | |
| - main | |
| jobs: | |
| deterministic-build: | |
| name: 'deterministic-build:optional' | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| include: | |
| - project: control-panel | |
| artifact: control_panel.wasm.gz | |
| - project: station | |
| artifact: station.wasm.gz | |
| - project: upgrader | |
| artifact: upgrader.wasm.gz | |
| - project: wallet-dapp | |
| artifact: wallet-dapp.tar.gz | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@v4 | |
| - name: 'Set up Docker' | |
| uses: docker/setup-docker-action@v4 | |
| timeout-minutes: 12 | |
| - name: 'Deterministic build' | |
| run: | | |
| ./scripts/docker-build.sh --${{ matrix.project }} | |
| - name: 'Built hash' | |
| run: | | |
| cat artifacts/${{ matrix.project }}/${{ matrix.artifact }}.sha256 |