Add test to create release notes
This commit is contained in:
parent
32c2be933f
commit
b5a24056d5
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/test_release.yml
Normal file
26
.forgejo/workflows/test_release.yml
Normal 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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue