Skip to content

try and fix nugetpublish #5042

try and fix nugetpublish

try and fix nugetpublish #5042

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [UpdateMilestoneJob (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_update-milestone --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: Update Milestone
on:
push:
pull_request_target:
types:
- 'closed'
- 'opened'
- 'reopened'
- 'synchronize'
permissions:
actions: read
checks: read
contents: read
deployments: read
id-token: none
issues: write
discussions: none
packages: none
pages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: write
jobs:
update_milestone:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
clean: 'false'
fetch-depth: '0'
- name: Fetch all history for all tags and branches
run: |
git fetch --prune
- name: 📲 Install DotNet
uses: actions/setup-dotnet@v4
- name: ⚒️ dotnet tool restore
run: |
dotnet tool restore
- name: 📲 Install GitVersion
uses: gittools/actions/gitversion/setup@v3.1.1
with:
versionSpec: '6.1.0'
- name: 🔨 Use GitVersion
id: gitversion
uses: gittools/actions/gitversion/execute@v3.1.1
with:
useConfigFile: 'true'
- name: Create Milestone
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
uses: WyriHaximus/github-action-create-milestone@v1
with:
title: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
- name: sync milestones
uses: RocketSurgeonsGuild/actions/sync-milestone@v0.3.15
with:
default-label: ':sparkles: mysterious'
github-token: '${{ secrets.GITHUB_TOKEN }}'