From 56a425494d0934002d0d09c5042a2d00db271cb0 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 19 Nov 2024 03:47:16 +0000 Subject: [PATCH] Automatic workflows update from ASF-PluginTemplate --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 982bf47..4034f1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: [push, pull_request] env: DOTNET_CLI_TELEMETRY_OPTOUT: true DOTNET_NOLOGO: true - DOTNET_SDK_VERSION: 8.0 + DOTNET_SDK_VERSION: 9.0 permissions: contents: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7548aed..13611b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ env: CONFIGURATION: Release DOTNET_CLI_TELEMETRY_OPTOUT: true DOTNET_NOLOGO: true - DOTNET_SDK_VERSION: 8.0 + DOTNET_SDK_VERSION: 9.0 GPG_PRIVATE_KEY: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }} # Optional, if secret not provided, will skip signing SHA512SUMS with GPG key. You can specify your own credentials if you'd like to, simply change ARCHIBOT_GPG_PRIVATE_KEY here to the one you want to use permissions: @@ -20,6 +20,7 @@ jobs: os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} + outputs: PLUGIN_NAME: ${{ steps.plugin-name.outputs.info }} @@ -30,13 +31,6 @@ jobs: show-progress: false submodules: recursive - - name: Parse plugin name from Directory.Build.props - id: plugin-name - uses: mavrosxristoforos/get-xml-info@2.0 - with: - xml-file: 'Directory.Build.props' - xpath: '//PluginName' - - name: Setup .NET Core uses: actions/setup-dotnet@v4.1.0 with: @@ -45,6 +39,13 @@ jobs: - name: Verify .NET Core run: dotnet --info + - name: Parse plugin name from Directory.Build.props + id: plugin-name + uses: mavrosxristoforos/get-xml-info@2.0 + with: + xml-file: 'Directory.Build.props' + xpath: '//PluginName' + - name: Publish plugin on Unix if: startsWith(matrix.os, 'macos-') || startsWith(matrix.os, 'ubuntu-') env: