Skip to content

add cicd pipeline

add cicd pipeline #2

Workflow file for this run

name: Gitea.client cicd workflow
on:
push:
pull_request:
branches:
- master
jobs:
build-test-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: build and test
uses: ./.github/actions/build-and-test/
- name: pack and push nuget
if: github.event_name == 'push' && github.base_ref == 'master'
uses: ./.github/actions/create-and-push-artifact/
with:
nuget_api_key: ${{ secrets.NUGET_API_KEY }}