forked from DMXStage/dmxconnect
This commit is contained in:
@@ -11,35 +11,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.21.4'
|
go-version: '>=1.21.4'
|
||||||
|
|
||||||
- name: Set up NodeJS
|
- uses: https://github.com/dAppServer/wails-build-action@v2.2
|
||||||
run: |
|
with:
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
build-name: dmxconnect
|
||||||
sudo apt-get install -y nodejs
|
build-platform: linux/amd64
|
||||||
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
|
|
||||||
|
|
||||||
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
- 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 }}."
|
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user