create new release workflow
Some checks failed
make-a-release / release (push) Failing after 3s

This commit is contained in:
Lukas Greve
2025-11-17 10:50:02 +01:00
parent 6b996bfd79
commit 5434b86105
2 changed files with 29 additions and 21 deletions

View File

@@ -0,0 +1,29 @@
name: make-a-release
on:
push:
branches: [ main ]
jobs:
release:
runs-on: fedora-cloud-42
defaults:
run:
shell: bash
container:
image: git.phyllo.me/devops/fedora-runner-image:latest
steps:
- name: Create release notes file
run: |
echo "Release notes for version 1.0.0" > release-notes.txt
echo "=========================" >> release-notes.txt
echo "" >> release-notes.txt
echo "Changes in this release:" >> release-notes.txt
echo "- add a new release workflow " >> release-notes.txt
- uses: https://git.phyllo.me/actions/action-gh-release@v2
with:
files: |-
release-notes.txt
api_key: '${{secrets.RELEASE_TOKEN}}'