Files
dmxconnect_ci_testing/.gitea/workflows/build.yaml
Valentin Boulanger f856bbcfcc
Some checks failed
Build software / prepare (push) Failing after 1m1s
refresh
2024-06-24 22:43:10 +02:00

41 lines
1.5 KiB
YAML

name: Build software
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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.20.6
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
source ~/.profile
go version
- name: Set up Wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Building ${{ github.repository }}
run: wails build
- 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 }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 Job finished with status ${{ job.status }}."