Skip to content

Commit

Permalink
use ubuntu-24.04 to generate/publish release target
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Nov 2, 2024
1 parent 75e1e2d commit 0042217
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-release-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
exit 1
run-generate-release-target:
uses: smdn/Smdn.Fundamentals/.github/workflows/generate-release-target.yml@workflows/release-target-v1.8.2
uses: smdn/Smdn.Fundamentals/.github/workflows/generate-release-target.yml@workflows/release-target-v1.8.3
needs: determine-release-target
if: startsWith(needs.determine-release-target.outputs.tag_name, 'new-release/')
with:
release_target_tag_name: ${{ needs.determine-release-target.outputs.tag_name }}
release_target_tag_prefix: 'new-release/'
release_target_pr_label: 'release-target'
release_tag_prefix: 'releases/'
workflow_runs_on: 'ubuntu-22.04'
workflow_runs_on: 'ubuntu-24.04'
dotnet_sdk_version: '8.0.100'
dry_run: ${{ fromJSON(needs.determine-release-target.outputs.dry_run) }}
secrets:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-release-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ on:

jobs:
run-publish-release-target:
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target-v1.8.2
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target-v1.8.3
if: |
(github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/')) &&
(contains(github.event.pull_request.labels.*.name, 'release-target'))
with:
pr_number_request_for_release: ${{ github.event.pull_request.number }}
pr_label_request_for_release: 'release-target'
dotnet_sdk_version: '8.0.100'
pr_label_request_for_release: release-target'
workflow_runs_on: 'ubuntu-24.04'
dotnet_sdk_version: '8.0.100'
secrets:
token_repo: ${{ secrets.PUBLISH_NEW_RELEASE }}
token_push_nuget_org: ${{ secrets.PUBLISH_PACKAGE_NUGETORG }}
Expand Down

0 comments on commit 0042217

Please sign in to comment.