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 $GOPATH/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 }}."