Add test to create release notes

This commit is contained in:
Pieter Vander Vennet 2025-06-16 15:12:47 +02:00
parent 32c2be933f
commit b5a24056d5

View file

@ -0,0 +1,26 @@
on:
workflow_dispatch:
jobs:
test-release:
runs-on: [ debian ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- name: Print root directory
shell: bash
run: ls /
- name: create dummy file
shell: bash
run: echo "Hello world!" > test.txt
- uses: actions/forgejo-release@v2.6.0
with:
direction: upload
url: https://source.mapcomplete.org
repo: MapComplete/planet-file-updater
token: ${{ secrets.WRITE_TOKEN }}
tag: v1.0.0
release-dir: test.txt
release-notes: "MY RELEASE NOTES"