Skip to content

Add warnings for "tag", "collider", "depth" in "Monocle.Entity" #4

Add warnings for "tag", "collider", "depth" in "Monocle.Entity"

Add warnings for "tag", "collider", "depth" in "Monocle.Entity" #4

Workflow file for this run

name: NuGet Publish
on:
workflow_dispatch:
push:
tags: [ '*' ]
jobs:
build:
name: Build and publish NuGet package
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Fetch all tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Get current tag
run: echo "CURRENT_TAG=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
- name: Build
run: dotnet build CelesteMod.Publicizer/CelesteMod.Publicizer.csproj --configuration Release -p:version=${{env.CURRENT_TAG}}
- name: Publish
run: nuget push CelesteMod.Publicizer/bin/Release/CelesteMod.Publicizer.${{env.CURRENT_TAG}}.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}