refresh
Some checks failed
Build software / prepare (push) Failing after 3m14s

This commit is contained in:
2024-06-24 23:05:54 +02:00
parent c0fd3a6ba8
commit cf4ce9823f
18 changed files with 483 additions and 483 deletions

88
.gitea/workflows/build.yaml Normal file → Executable file
View File

@@ -1,45 +1,45 @@
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: |
source ~/.profile
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Building ${{ github.repository }}
run: |
source ~/.profile
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 }}
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: |
source ~/.profile
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Building ${{ github.repository }}
run: |
source ~/.profile
$GOBIN/go/bin/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 }}."