Exclusive lock option (#70) #84
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- name: Build Version | |
id: vars | |
run: echo "VERSION=<Version>${GITHUB_REF#refs/tags/}</Version>" >> "$GITHUB_OUTPUT" | |
- name: Apply Version | |
uses: jacobtomlinson/gha-find-replace@v2 | |
with: | |
find: "<Version>.*<\\/Version>" | |
replace: "${{ steps.vars.outputs.VERSION }}" | |
include: "**/Core.Arango.csproj" | |
regex: true | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Pack | |
run: dotnet pack --configuration Release | |
- name: Publish | |
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json |