diff --git a/.github/workflows/pull_request_dev.yml b/.github/workflows/pull_request_dev.yml new file mode 100644 index 0000000..c1bdb03 --- /dev/null +++ b/.github/workflows/pull_request_dev.yml @@ -0,0 +1,22 @@ +name: Build NuGet package on dev branch pull request + +on: + pull_request: + branches: + - "dev" + paths: + - "TimetableDesigner.Backend.Events**" + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6.0.2 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 10.0.x + - name: Build + run: dotnet build \ No newline at end of file diff --git a/.github/workflows/push_dev.yml b/.github/workflows/push_dev.yml new file mode 100644 index 0000000..2e22ba3 --- /dev/null +++ b/.github/workflows/push_dev.yml @@ -0,0 +1,22 @@ +name: Build NuGet package on dev branch push + +on: + push: + branches: + - "dev" + paths: + - "TimetableDesigner.Backend.Events**" + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6.0.2 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 10.0.x + - name: Build + run: dotnet build \ No newline at end of file diff --git a/.github/workflows/push_main.yml b/.github/workflows/push_main.yml index 88c4dec..77c25db 100644 --- a/.github/workflows/push_main.yml +++ b/.github/workflows/push_main.yml @@ -1,7 +1,7 @@ -name: Build NuGet package on main branch pull request +name: Build NuGet package on main branch push on: - pull_request: + push: branches: - "main" paths: diff --git a/TimetableDesigner.Backend.Events/TimetableDesigner.Backend.Events.csproj b/TimetableDesigner.Backend.Events/TimetableDesigner.Backend.Events.csproj index 08b58a6..20e7d3c 100644 --- a/TimetableDesigner.Backend.Events/TimetableDesigner.Backend.Events.csproj +++ b/TimetableDesigner.Backend.Events/TimetableDesigner.Backend.Events.csproj @@ -4,6 +4,12 @@ net10.0 enable enable + TimetableDesigner.Backend.Events + Mateusz Skoczek + https://github.com/TimetableDesigner/ + icon.png + https://github.com/TimetableDesigner/TimetableDesigner.Backend.Events + @@ -17,4 +23,11 @@ + + + True + + + + diff --git a/TimetableDesigner.Backend.Events/icon.png b/TimetableDesigner.Backend.Events/icon.png new file mode 100644 index 0000000..98f0c54 Binary files /dev/null and b/TimetableDesigner.Backend.Events/icon.png differ