Publish All Debian Packages #71
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: Publish All Debian Packages | |
| on: | |
| release: | |
| types: [prereleased, released] | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: "Version to release (E.G. v0.10.0-rc.1, v0.10.0). Corresponding git tag must already exist." | |
| required: true | |
| type: string | |
| env: | |
| version: ${{ inputs.version || github.ref_name }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| publish-node: | |
| name: Publish Node ${{ matrix.arch }} Debian | |
| permissions: | |
| contents: write | |
| strategy: | |
| matrix: | |
| arch: [amd64, arm64] | |
| runs-on: | |
| labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: ./.github/actions/install-rocksdb | |
| - uses: ./.github/actions/install-protobuf-compiler | |
| - name: Build and Publish Node | |
| uses: ./.github/actions/debian | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| gitref: ${{ env.version }} | |
| crate_dir: node | |
| package: miden-node | |
| packaging_dir: node | |
| crate: miden-node | |
| arch: ${{ matrix.arch }} | |
| publish-prover: | |
| name: Publish Prover ${{ matrix.arch }} Debian | |
| permissions: | |
| contents: write | |
| strategy: | |
| matrix: | |
| arch: [amd64, arm64] | |
| runs-on: | |
| labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Build and Publish Prover | |
| uses: ./.github/actions/debian | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| gitref: ${{ env.version }} | |
| crate_dir: remote-prover | |
| package: miden-prover | |
| packaging_dir: prover | |
| crate: miden-remote-prover | |
| arch: ${{ matrix.arch }} | |
| publish-prover-proxy: | |
| name: Publish Prover Proxy ${{ matrix.arch }} Debian | |
| permissions: | |
| contents: write | |
| strategy: | |
| matrix: | |
| arch: [amd64, arm64] | |
| runs-on: | |
| labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Build and Publish Prover Proxy | |
| uses: ./.github/actions/debian | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| gitref: ${{ env.version }} | |
| crate_dir: remote-prover | |
| package: miden-prover-proxy | |
| packaging_dir: prover-proxy | |
| crate: miden-remote-prover | |
| arch: ${{ matrix.arch }} | |
| publish-network-monitor: | |
| name: Publish Network Monitor ${{ matrix.arch }} Debian | |
| permissions: | |
| contents: write | |
| strategy: | |
| matrix: | |
| arch: [amd64, arm64] | |
| runs-on: | |
| labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Build and Publish Network Monitor | |
| uses: ./.github/actions/debian | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| gitref: ${{ env.version }} | |
| crate_dir: network-monitor | |
| package: miden-network-monitor | |
| packaging_dir: network-monitor | |
| crate: miden-network-monitor | |
| arch: ${{ matrix.arch }} |