diff --git a/.github/workflows/deploy_node.yml b/.github/workflows/deploy_node.yml index ef3da59a5..cb702583e 100644 --- a/.github/workflows/deploy_node.yml +++ b/.github/workflows/deploy_node.yml @@ -62,6 +62,12 @@ jobs: PACKAGE_NAME: "" # will be set by the step that builds the deb package steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true + - name: Set up Go 1.22 uses: actions/setup-go@v5.1.0 with: @@ -69,12 +75,6 @@ jobs: check-latest: true cache: true - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - with: - fetch-depth: 0 - fetch-tags: true - - name: Get dependencies run: go mod vendor diff --git a/.github/workflows/deploy_nodes.yml b/.github/workflows/deploy_nodes.yml index 28cce0ad1..40d7cfbd4 100644 --- a/.github/workflows/deploy_nodes.yml +++ b/.github/workflows/deploy_nodes.yml @@ -16,6 +16,7 @@ jobs: network: [ stagenet, testnet, mainnet ] arch: [ "${{ inputs.arch }}" ] uses: "./.github/workflows/deploy_node.yml" + secrets: inherit with: network: ${{ matrix.network }} arch: ${{ matrix.arch }}