From eead2265a3e01dfb58726a2f0e75cd98ecdaac44 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 6 Jul 2024 14:13:22 +0200 Subject: [PATCH] fixed --- .gitea/workflows/build.yaml | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e44510d..908d356 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,35 +11,10 @@ jobs: with: go-version: '>=1.21.4' - - name: Set up NodeJS - run: | - curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - - sudo apt-get install -y nodejs - node -v - - - name: Set up Go - run: | - GO_VERSION=1.21.4 - wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz - echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile - echo "export GOPATH=$HOME/go" >> ~/.profile - source ~/.profile - go version - go env - - - name: Set up Wails - run: | - source ~/.profile - go install github.com/wailsapp/wails/v2/cmd/wails@latest - apt-get install -y libgtk-3-dev - apt-get install -y --reinstall pkg-config - /usr/share/pkg-config-dpkghook update - - - name: Building ${{ github.repository }} - run: | - source ~/.profile - $GOPATH/bin/wails build + - uses: https://github.com/dAppServer/wails-build-action@v2.2 + with: + build-name: dmxconnect + build-platform: linux/amd64 - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."