continuity/.gitea/workflows/server.yaml
Timothy Schenk 81a5fc1b42
Some checks failed
Test if Server can be built / build-server (push) Failing after 12s
ci: test env
2023-10-27 21:12:54 +02:00

20 lines
681 B
YAML

name: Test if Server can be built
run-name: ${{ gitea.actor }} is building the Server application
on: [ push ]
jobs:
build-server:
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: https://github.com/actions/setup-dotnet@v3
with:
dotnet-version: 7.0
- run: |
export SONAR_TOKEN = ${{secrets.SONAR_TOKEN}}
export SONAR_PROJECT_KEY = ${{secrets.SONAR_PROJECT_KEY}}
export SONAR_HOST_URL = ${{secrets.SONAR_HOST_URL}}
export IS_LOCAL_BUILD = ${{secrets.IS_LOCAL_BUILD}}
export SUPPORTS_DOCKER = ${{secrets.SUPPORTS_DOCKER}}
chmod +x ./build.sh
./build.sh --verbose --root .