name: Build on: push: branches: [master] pull_request: jobs: build: name: Build runs-on: build steps: - uses: actions/checkout@v4 with: path: decePubClient - name: Fetch PrivaPub's client models beside it env: READ_TOKEN: ${{ secrets.THEPRA_READ_TOKEN }} run: | rm -rf SocialPub git -c http.extraHeader="Authorization: token $READ_TOKEN" clone -q --depth 1 \ https://git.thepra.dev/thepra/SocialPub.git SocialPub - name: Build run: dotnet build decePubClient/decePubClient.csproj -c Release