kopia lustrzana https://github.com/collective/icalendar
add deploy-github-release workflow
rodzic
0fdbdfb997
commit
d1513fd657
|
@ -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 }}
|
||||
|
|
|
@ -16,7 +16,9 @@ Breaking changes:
|
|||
|
||||
New features:
|
||||
|
||||
- ...
|
||||
- icalendar releases are deployed to Github releases
|
||||
Fixes: #563
|
||||
[jacadzaca]
|
||||
|
||||
Bug fixes:
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue