From 7bb8455ced8132d553a0093da7a8f60a9ad012f2 Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Wed, 10 Apr 2024 20:44:48 +0200 Subject: [PATCH 1/4] Add CI-Installer workflow --- .github/workflows/ci-installer.yml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-installer.yml diff --git a/.github/workflows/ci-installer.yml b/.github/workflows/ci-installer.yml new file mode 100644 index 00000000..2e9d898e --- /dev/null +++ b/.github/workflows/ci-installer.yml @@ -0,0 +1,34 @@ +name: CI-Installer + +on: + push: + branches: + - master + - release/* + pull_request: + branches: + - master + - release/* + +jobs: + windows: + runs-on: windows-latest + + steps: + + - name: Checkout + uses: actions/checkout@v1 + + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '8.0.x' + include-prerelease: false + + - name: Build + run: dotnet build -c Release ./Installer/Installer.csproj + shell: cmd + + - name: Publish + run: dotnet publish -c Release .\Installer\Installer.csproj + shell: cmd From 9d79f33d1f4e0fe0466af714c625feb00b66e77e Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Wed, 10 Apr 2024 20:55:51 +0200 Subject: [PATCH 2/4] Add artifact --- .github/workflows/ci-installer.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-installer.yml b/.github/workflows/ci-installer.yml index 2e9d898e..b20a3b63 100644 --- a/.github/workflows/ci-installer.yml +++ b/.github/workflows/ci-installer.yml @@ -30,5 +30,11 @@ jobs: shell: cmd - name: Publish - run: dotnet publish -c Release .\Installer\Installer.csproj + run: dotnet publish -c Release ./Installer/Installer.csproj shell: cmd + + - name: 'Upload Artifact' + uses: actions/upload-artifact@v4 + with: + name: Installer.exe + path: ./Installer/bin/Release/net8.0/win-x64/publish/Installer.exe From c3c14240a148e03a303f24e9ee65af2123cebb70 Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Wed, 10 Apr 2024 21:08:39 +0200 Subject: [PATCH 3/4] Bump versions --- .github/workflows/ci-installer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-installer.yml b/.github/workflows/ci-installer.yml index b20a3b63..c0fa3770 100644 --- a/.github/workflows/ci-installer.yml +++ b/.github/workflows/ci-installer.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' include-prerelease: false From 1457b865d28f7ddffc00a280f1b0bba6d96cff9b Mon Sep 17 00:00:00 2001 From: Sebastien Lebreton Date: Wed, 10 Apr 2024 21:19:54 +0200 Subject: [PATCH 4/4] Remove option --- .github/workflows/ci-installer.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci-installer.yml b/.github/workflows/ci-installer.yml index c0fa3770..97477fe9 100644 --- a/.github/workflows/ci-installer.yml +++ b/.github/workflows/ci-installer.yml @@ -23,7 +23,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' - include-prerelease: false - name: Build run: dotnet build -c Release ./Installer/Installer.csproj