Skip to content

Commit

Permalink
Update packager to build for devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Aug 29, 2024
1 parent b1d5f8a commit 9ec8122
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/arm_deb_packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
permissions:
id-token: write
contents: write
outputs:
target: ${{ steps.build_type_vars_setup.outputs.target }}
tag: ${{ steps.build_type_vars_setup.outputs.tag }}
account_id: ${{ steps.build_type_vars_setup.outputs.account_id }}
instance_id: ${{ steps.build_type_vars_setup.outputs.instance_id }}
runs-on:
labels: ubuntu22-arm-4core
steps:
Expand Down Expand Up @@ -154,13 +159,14 @@ jobs:
with:
name: devnet_package
path: |
packaging/deb/miden-node-next.deb
packaging/deb/miden-node-next.deb.checksum
packaging/deb/miden-faucet-next.deb
packaging/deb/miden-faucet-next.deb.checksum
packaging/deb/miden-node-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb
packaging/deb/miden-node-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
packaging/deb/miden-faucet-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb
packaging/deb/miden-faucet-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
if: ${{ github.event_name == 'push' }}

- name: Determine build type
id: build_type_vars_setup
run: |
if [[ ${{ github.event_name }} == "release" || ${{ github.event_name }} == "prereleased" ]]; then
echo "target=testnet";
Expand All @@ -185,4 +191,3 @@ jobs:
secrets:
account_id: ${{ needs.build_package.outputs.account_id }}
instance_id: ${{ needs.build_package.outputs.instance_id }}

0 comments on commit 9ec8122

Please sign in to comment.