Skip to content

pls publish

pls publish #231

Workflow file for this run

name: .NET Core Workflow
on:
push:
branches: [v6, v7]
pull_request:
branches: [v6, v7]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: '8.x'
include-prerelease: true
- name: Build Project
run: dotnet build --configuration Release -o Output
- name: NutGet Upload
if: success() && contains(github.event.head_commit.message, 'publish')
working-directory: Output
run: dotnet nuget push *.nupkg -k ${{ secrets.MAGIC }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Discord WebHook
if: always()
shell: pwsh
env:
GITHUB: ${{ toJson(github) }}
run: |
wget https://raw.githubusercontent.com/Yucked/Scripy/master/Powershell/ActionSend.ps1
pwsh .\ActionSend.ps1 ${{ secrets.WEBHOOK }} ${{ job.status }}