wordpress-event-bridge-for-.../.forgejo/workflows/release.yml
André Menrath 79bf945744
Some checks failed
/ upload-release (push) Failing after 3s
test
2024-10-29 20:39:19 +01:00

32 lines
845 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: find . -maxdepth 1 -mindepth 1 -not -name dist -exec mv {} 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 }}