mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
added git test workflow
This commit is contained in:
parent
5126aacd3b
commit
1b93af52e8
1 changed files with 30 additions and 0 deletions
30
.github/workflows/test-git.yml
vendored
Normal file
30
.github/workflows/test-git.yml
vendored
Normal 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue