Skip to content

Commit

Permalink
fix file path
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jun 17, 2024
1 parent 3682033 commit fde88a5
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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/[email protected]
# 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

0 comments on commit fde88a5

Please sign in to comment.