diff --git a/.forgejo/workflows/test_release.yml b/.forgejo/workflows/test_release.yml new file mode 100644 index 0000000..f7a85f8 --- /dev/null +++ b/.forgejo/workflows/test_release.yml @@ -0,0 +1,28 @@ +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: | + mkdir test + echo "Hello world!" > test/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/ + release-notes: "MY RELEASE NOTES" \ No newline at end of file