Skip to content

Merge pull request #191 from TimeWarpEngineering/Cramer/2024-03-27/Re… #68

Merge pull request #191 from TimeWarpEngineering/Cramer/2024-03-27/Re…

Merge pull request #191 from TimeWarpEngineering/Cramer/2024-03-27/Re… #68

name: timewarp-architecture.yml
on:
push:
branches:
- master
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Pack
run: |
cd Source/TimeWarp.Architecture.Template/
dotnet build -c Release
- name: Publish
run: dotnet nuget push Source/TimeWarp.Architecture.Template/bin/Release/TimeWarp.Architecture.*.nupkg --skip-duplicate --no-symbols --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}}
env:
NUGET_AUTH_TOKEN: ${{secrets.PUBLISH_TO_NUGET_ORG}}