Skip to content

Cleanup old preview nuget package releases #1470

Cleanup old preview nuget package releases

Cleanup old preview nuget package releases #1470

name: Cleanup old preview nuget package releases
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
ref: dev
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: false
- name: Unlist nightly nuget packages
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
shell: pwsh
run: |
./build/unlist-nightly.ps1