Skip to content

Commit

Permalink
Update build-linux.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinJohnWilliams authored Mar 23, 2023
1 parent 2f3da97 commit ee65bd3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,15 @@ jobs:
- name: Build Console App
run: dotnet build openai-playground/openai-playground.csproj -c Release -r linux-x64

- name: Get Tag Message
if: startsWith(github.ref, 'refs/tags/v')
id: get_tag_message
run: |
TAG_MESSAGE=$(git tag -l -n99 "${{ github.ref }}" | awk '{if (NR==1) {sub(/^[^\t]*\t/,"");print}}')
echo "::set-output name=TAG_MESSAGE::${TAG_MESSAGE}"
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ github.ref }}
TAG_MESSAGE: ${{ steps.get_tag_message.outputs.tag_message }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this release:
|
${{ env.TAG_MESSAGE }}
draft: false
prerelease: false

Expand Down

0 comments on commit ee65bd3

Please sign in to comment.