From 4e0efe779bfcbd7f2213bbbe2e6ab8126143ae98 Mon Sep 17 00:00:00 2001 From: Marlon Date: Wed, 10 Dec 2025 21:59:59 +0100 Subject: [PATCH] action updates --- .github/workflows/main.yml | 6 +++--- .github/workflows/qa.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b80429a5..a8e8e6de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: steps: - name: GIT Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v6 with: submodules: 'true' @@ -22,7 +22,7 @@ jobs: run: git submodule update --init --recursive - name: .NET 8 Setup - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' @@ -33,7 +33,7 @@ jobs: run: dotnet publish FModel -c Release --no-self-contained -r win-x64 -f net8.0-windows -o "./FModel/bin/Publish/" -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:DebugType=None -p:GenerateDocumentationFile=false -p:DebugSymbols=false -p:AssemblyVersion=${{ github.event.inputs.appVersion }} -p:FileVersion=${{ github.event.inputs.appVersion }} - name: ZIP File - uses: papeloto/action-zip@v1 + uses: papeloto/action-zip@v1.2 with: files: ./FModel/bin/Publish/FModel.exe dest: FModel.zip # will end up in working directory not the Publish folder diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index ead5c624..3898ed70 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -10,17 +10,17 @@ jobs: steps: - name: GIT Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'recursive' - name: .NET 8 Setup - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - name: .NET Restore - run: dotnet restore FModel + run: dotnet restore "./FModel/FModel.slnx" - name: .NET Publish run: dotnet publish "./FModel/FModel.csproj" -c Release --no-restore --no-self-contained -r win-x64 -f net8.0-windows -o "./FModel/bin/Publish/" -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:DebugType=None -p:GenerateDocumentationFile=false -p:DebugSymbols=false @@ -33,7 +33,7 @@ jobs: path: ./FModel/bin/Publish/FModel.exe - name: Edit QA Artifact - uses: ncipollo/release-action@v1.14.0 + uses: ncipollo/release-action@v1.20.0 with: token: ${{ secrets.GITHUB_TOKEN }} name: 'FModel QA Testing' @@ -51,13 +51,13 @@ jobs: - name: FModel Auth id: fmodel_auth - uses: fjogeleit/http-request-action@v1.15.5 + uses: fjogeleit/http-request-action@v1.16.6 with: url: "https://api.fmodel.app/v1/oauth/token" data: '{"username": "${{ secrets.API_USERNAME }}", "password": "${{ secrets.API_PASSWORD }}"}' - name: FModel Deploy Build - uses: fjogeleit/http-request-action@v1.15.5 + uses: fjogeleit/http-request-action@v1.16.6 with: url: "https://api.fmodel.app/v1/infos/${{ secrets.QA_ID }}" method: "PATCH"