continuity/.gitea/workflows/server.yaml

21 lines
671 B
YAML
Raw Normal View History

2023-08-13 18:34:10 +02:00
name: Test if Server can be built
run-name: ${{ gitea.actor }} is building the Server application
2023-08-13 18:52:46 +02:00
on: [ push ]
2023-08-13 18:34:10 +02:00
jobs:
build-server:
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: https://github.com/actions/setup-dotnet@v3
with:
2023-10-27 20:29:06 +02:00
dotnet-version: 7.0
2023-10-27 19:52:19 +02:00
- run: |
2023-10-27 21:14:10 +02:00
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}}
2023-10-27 21:05:10 +02:00
chmod +x ./build.sh
2023-10-27 20:57:59 +02:00
./build.sh --verbose --root .