This commit is contained in:
parent
6615419021
commit
cc39ace643
25
.gitea/workflows/build.yml
Normal file
25
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,25 @@
|
||||
name: msbuild
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-gitea
|
||||
steps:
|
||||
- name: Prep for local builds
|
||||
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
|
||||
|
||||
- name: Install Node
|
||||
run: apt update && apt install -y ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt update && apt install nodejs -y
|
||||
|
||||
- name: Checkout Repository
|
||||
run: echo "Install repos..."
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET 7.0
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
Loading…
Reference in New Issue
Block a user