add deploy-github-release workflow

pull/564/head
jaca 2023-09-30 11:25:21 +02:00
rodzic 0fdbdfb997
commit d1513fd657
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B67CEF4EE3D609B0
2 zmienionych plików z 20 dodań i 1 usunięć

Wyświetl plik

@ -110,3 +110,20 @@ jobs:
fi
twine check dist/*
twine upload dist/*
deploy-github-release:
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
if: startsWith(github.ref, 'refs/tags/v')
needs:
- run-tests
runs-on: ubuntu-latest
environment:
name: github-release
steps:
- uses: actions/checkout@v2
- name: create release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: ${{ github.ref_name }}

Wyświetl plik

@ -16,7 +16,9 @@ Breaking changes:
New features:
- ...
- icalendar releases are deployed to Github releases
Fixes: #563
[jacadzaca]
Bug fixes: