1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

added git test workflow

This commit is contained in:
Rene Schallner 2023-05-22 22:44:00 +02:00
parent 5126aacd3b
commit 1b93af52e8

30
.github/workflows/test-git.yml vendored Normal file
View file

@ -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