From 2e7da12d3f3dca17b301035a16634cc9f4b17c8a Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 29 Sep 2021 22:35:15 +0100 Subject: [PATCH] Move SFTP xfer to happen before attach to release. Seeing some SSL errors in the github-action-publish-binaries action. Signed-off-by: Adam Warner --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4834b5e..6a2128af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,14 +77,6 @@ jobs: run: | mv pihole-FTL "${{ matrix.bin_name }}" sha1sum pihole-FTL-* > ${{ matrix.bin_name }}.sha1 - - - name: Attach binaries to release - if: ${{ github.event_name == 'release' }} - uses: skx/github-action-publish-binaries@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - args: '${{ matrix.bin_name }}*' - name: Transfer Builds to Pi-hole server for pihole checkout if: ${{ github.event_name != 'pull_request' }} @@ -95,4 +87,12 @@ jobs: port: ${{ secrets.SSH_PORT }} key: ${{ secrets.SSH_KEY }} source: "${{ matrix.bin_name }}*" - target: "${{ steps.branch_name.outputs.OUTPUT_DIR }}" \ No newline at end of file + target: "${{ steps.branch_name.outputs.OUTPUT_DIR }}" + - + name: Attach binaries to release + if: ${{ github.event_name == 'release' }} + uses: skx/github-action-publish-binaries@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: '${{ matrix.bin_name }}*' \ No newline at end of file