Skip to content

chore(release): 1.1.0 #100

chore(release): 1.1.0

chore(release): 1.1.0 #100

Workflow file for this run

name: Combined CI / Release
on:
workflow_dispatch:
push:
tags:
- '*'
branches:
- '**'
jobs:
ci_cd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: CI/CD
id: mu88-ci-cd
uses: mu88/github-actions/ci-cd@1.0
with:
github-ref-name: ${{ github.ref }}
sonar-key: 'mu88_mu88.Shared'
sonar-token: ${{ secrets.SONAR_TOKEN }}
sonar-additional-params: '/d:sonar.cs.opencover.reportsPaths=tests/Tests/coverage.opencover.xml'
docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-token: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Pack
run: dotnet pack
- name: Push packages to NuGet
if: ${{ steps.mu88-ci-cd.outputs.is-release == 'true' }}
run: |
dotnet nuget push src/mu88.Shared/bin/Release/mu88.Shared.*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json