forked from DMXStage/dmxconnect
This commit is contained in:
@@ -8,24 +8,25 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Node.js 20
|
- name: Set up NodeJS
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||||
sudo apt-get install -y nodejs
|
sudo apt-get install -y nodejs
|
||||||
node -v
|
node -v
|
||||||
|
|
||||||
- name: Set up Go 1.20
|
- name: Set up Go
|
||||||
run: |
|
run: |
|
||||||
GO_VERSION=1.20.6
|
GO_VERSION=1.20.6
|
||||||
wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz
|
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
|
sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
echo "export PATH=$PATH:/usr/local/go/bin" > ~/.profile
|
||||||
|
source ~/.profile
|
||||||
go version
|
go version
|
||||||
|
|
||||||
- name: Set up wails
|
- name: Set up Wails
|
||||||
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
||||||
|
|
||||||
- name: Building application...
|
- name: Building ${{ github.repository }}
|
||||||
run: wails build
|
run: 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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user