Skip to content

Merge pull request #203 from TimeWarpEngineering/Cramer/2024-05-21/As… #75

Merge pull request #203 from TimeWarpEngineering/Cramer/2024-05-21/As…

Merge pull request #203 from TimeWarpEngineering/Cramer/2024-05-21/As… #75

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@v4
- 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 TimeWarp.Templates/Source/TimeWarp.Architecture.Template/
dotnet build -c Release
- name: Publish
run: dotnet nuget push TimeWarp.Templates/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}}