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}}'

View File

@@ -1,21 +0,0 @@
name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
with:
fetch-depth: 0
- uses: https://git.phyllo.me/actions/action-gh-release@v2
with:
files: |-
bin/**
api_key: '${{secrets.RELEASE_TOKEN}}'