feat(Libraries.Lexoffice): Zentrales Client Side Rate Limiting für al… #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clockodo Quickactions bauen und Installer sowie Update erstellen | |
on: | |
push: | |
tags: | |
- 'clockodo-quick-actions-*' | |
jobs: | |
clockodo-quickactions-installer-erstellen: | |
runs-on: windows-latest | |
name: ClockodoQuickActions Installer Bauen | |
steps: | |
- name: Repository laden | |
uses: actions/checkout@v4 | |
- name: .NET installieren | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Advanced installer einrichten | |
uses: caphyon/advinst-github-action@main | |
with: | |
advinst-version: '21.9' | |
advinst-license: ${{ secrets.ADVINST_LICENSE_KEY }} | |
- name: msbuild zu PATH hinzufügen | |
uses: microsoft/setup-msbuild@v2 | |
- name: Version des neuen Installers festlegen | |
run: AdvancedInstaller.com /edit ${{ github.workspace }}\src\coIT.Clockodo.QuickActions.Installer\coIT.Clockodo.QuickActions.Installer.aip /SetVersion ("${{ github.ref }}" | cut -c 34-) | |
- name: Anwendung bauen | |
run: dotnet publish -c Release -r win-x64 ${{ github.workspace }}\src\coIT.Clockodo.QuickActions\coIT.Clockodo.QuickActions.csproj /p:PublishProfile="FolderProfile" | |
- name: Installer bauen | |
run: msbuild ${{ github.workspace }}\src\coIT.Clockodo.QuickActions.Installer\coIT.Clockodo.QuickActions.Installer.aiproj | |
- name: Installer zu release hinzufügen | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ${{ github.workspace }}\src\coIT.Clockodo.QuickActions.Installer\coIT.Clockodo.QuickActions.Installer-SetupFiles\coIT.Clockodo.QuickActions.Installer.msi | |
tag: ${{ github.ref }} | |
overwrite: true | |
- name: Update json erstellen | |
env: | |
VERSION: ${{ github.ref_name }} | |
run: | | |
# Erste 23 Buchstaben entfernen ("clockodo-quick-actions-") | |
$versionClean = $env:VERSION.Substring(23) | |
# JSON String erstellen | |
$jsonString = '{"RegistryKey":"HKUD\\Software\\\\co-IT.eu GmbH\\Clockodo QuickActions\\Version", "Version":"' + $versionClean + '"}' | |
# Datei erstellen | |
$jsonString | Set-Content -Path advinst_update.json | |
# Dbug Ausgabe | |
Write-Output (Resolve-Path advinst_update.json) | |
Get-Content advinst_update.json | |
- name: Update json zu Release hinzufügen | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ${{ github.workspace }}\advinst_update.json | |
tag: ${{ github.ref_name }} | |
overwrite: true |