Skip to content

Commit

Permalink
Automatic workflows update from ASF-PluginTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 19, 2024
1 parent 4ba8543 commit 56a4254
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -20,6 +20,7 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

outputs:
PLUGIN_NAME: ${{ steps.plugin-name.outputs.info }}

Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 56a4254

Please sign in to comment.