32 lines
815 B
YAML
32 lines
815 B
YAML
on:
|
|
push:
|
|
tags: 'v*'
|
|
|
|
jobs:
|
|
upload-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
|
|
|
- name: Remove Files Listed in .distignore
|
|
run: ls -la
|
|
|
|
- name: Remove Files Listed in .distignore
|
|
run: rm -r tests/
|
|
|
|
- name: Remove Files Listed in .distignore
|
|
run: ls -la
|
|
|
|
- name: Create Release Directory
|
|
run: mkdir -p dist/release
|
|
|
|
- name: Move Release Files
|
|
run: 'shopt -s extglob && mv !(dist) dist/release'
|
|
|
|
- uses: https://code.forgejo.org/actions/forgejo-release@v2
|
|
with:
|
|
direction: upload
|
|
url: https://code.event-federation.eu
|
|
release-dir: dist/release
|
|
release-notes: "MY RELEASE NOTES"
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|