From 1b93af52e880089dbf80dc7b14aa118184954e83 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 May 2023 22:44:00 +0200 Subject: [PATCH] added git test workflow --- .github/workflows/test-git.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test-git.yml diff --git a/.github/workflows/test-git.yml b/.github/workflows/test-git.yml new file mode 100644 index 0000000..c5236f0 --- /dev/null +++ b/.github/workflows/test-git.yml @@ -0,0 +1,30 @@ +name: Create Release, update README, send announcement + + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set tag name + id: tag + run: | + echo "::set-output name=version::${GITHUB_REF#refs/tags/}" + + - name: Generate release notes + id: release_notes + run: | + echo "${{ steps.tag.outputs.version }}" + git tag -l --format='%(contents)' "${{ steps.tag.outputs.version }}" + tools/announceybot.exe release-notes "${{ steps.tag.outputs.version }}" > relnotes.md + cat relnotes.md +