forked from DMXStage/dmxconnect
All checks were successful
Build software / prepare (push) Successful in 1m50s
36 lines
1.3 KiB
YAML
36 lines
1.3 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 Node.js 20
|
|
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 1.20
|
|
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
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
go version
|
|
|
|
- run: node -v
|
|
- run: npm -v
|
|
- 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 }}." |