From c269dec1b02d794ca8d45cff5f793ce58c8c9641 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Fri, 16 Feb 2024 14:22:12 +0100 Subject: [PATCH] chore: adjusting for workflow dispatch test --- .github/workflows/publish-release-packages.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-release-packages.yaml b/.github/workflows/publish-release-packages.yaml index 49970217..cd6da584 100644 --- a/.github/workflows/publish-release-packages.yaml +++ b/.github/workflows/publish-release-packages.yaml @@ -116,9 +116,6 @@ jobs: publish-snap: runs-on: ubuntu-latest - strategy: - matrix: - arch: [amd64, arm64, armhf] if: ${{ inputs.do_snap }} steps: @@ -141,8 +138,8 @@ jobs: - name: Download binary artifact from release if: ${{ (env.RELEASE_VERSION != '') || (github.event_name == 'workflow_dispatch' && inputs.release != '') }} run: | - gh release download ${{ inputs.release }} --pattern "*Linux-py3.12.tar.gz" --dir dist - echo "BINARY_PATH=$(ls dist/*Linux-py3.12.tar.gz)" >> $GITHUB_ENV + gh release download ${{ inputs.release }} --pattern "*Linux*.tar.gz" --dir dist + echo "BINARY_PATH=$(ls dist/*Linux*.tar.gz)" >> $GITHUB_ENV env: GH_TOKEN: ${{ github.token }} @@ -153,7 +150,7 @@ jobs: - name: Build snap uses: snapcore/action-build@v1 with: - snapcraft-args: --target-arch ${{ matrix.arch }} + snapcraft-args: --target-arch amd64 - name: Set path to snap binary shell: bash