From fde88a57f3bd787f7820f95bb2fd722bad56bda1 Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Mon, 17 Jun 2024 17:21:07 +0200 Subject: [PATCH] fix file path --- .github/workflows/build.yaml | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6767f17..eb60cf5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,15 +13,6 @@ jobs: fyne-cross-and-release: name: build and release runs-on: ubuntu-latest - #strategy: - # matrix: - # goos: [linux] - # #goos: [linux, windows, darwin] - # goarch: [amd64] - # #goarch: [amd64, arm64] - # exclude: - # - goarch: arm64 - # goos: windows steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 @@ -32,7 +23,6 @@ jobs: sudo apt-get -y install bc gcc libgl1-mesa-dev libwayland-dev libx11-dev libxkbcommon-dev xorg-dev xvfb go install github.com/fyne-io/fyne-cross@latest go install github.com/tcnksm/ghr@latest - #echo "$HOME/go/bin" >> $GITHUB_PATH - name: compile run: | export PATH=$PATH:~/go/bin @@ -69,29 +59,13 @@ jobs: uses: fnkr/github-action-ghr@v1 if: startsWith(github.ref, 'refs/tags/') env: - GHR_PATH: fyne-cross/dist/carbonapp-amd64.tar.xz + GHR_PATH: fyne-cross/dist/linux-amd64/carbonapp-amd64.tar.xz GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GHR_REPLACE: true - name: Release dist linux-arm64 uses: fnkr/github-action-ghr@v1 if: startsWith(github.ref, 'refs/tags/') env: - GHR_PATH: fyne-cross/dist/carbonapp-arm64.tar.xz + GHR_PATH: fyne-cross/dist/linux-arm64/carbonapp-arm64.tar.xz GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GHR_REPLACE: true - #- name: Release linux-arm64 - # uses: fnkr/github-action-ghr@v1 - # if: startsWith(github.ref, 'refs/tags/') - # env: - # GHR_PATH: fyne-cross/dist/linux-arm64/ - # GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} - # GHR_REPLACE: true - #- uses: wangyoucao577/go-release-action@v1.51 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # goos: ${{ matrix.goos }} - # goarch: ${{ matrix.goarch }} - # binary_name: carbon-app - # retry: 10 - # sha256sum: true - # pre_command: go mod tidy