Merge pull request #187 from EasilyNET/dev #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: | |
name: NUGET_ENV | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup .Net SDK | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.x | |
- name: Build and Test | |
run: ./Build.ps1 | |
shell: pwsh | |
- name: Push to NuGet | |
env: | |
NUGET_URL: ${{ secrets.NUGET_URL }} | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
run: ./Push.ps1 | |
shell: pwsh | |
- name: Artifacts | |
uses: actions/[email protected] | |
with: | |
name: artifacts | |
path: artifacts/**/* | |