fix: Fixing CI. Separate flow for upload 👷🔥
Some checks failed
CI / release (push) Successful in 1m47s
Create Distribution / Create Archive (push) Failing after 2s

This commit is contained in:
2024-10-29 21:10:53 +13:00
parent de1973025f
commit d9d01fcbb3
4 changed files with 33 additions and 30 deletions

22
.github/workflows/dist.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Create Distribution
run-name: Distribute composer package with Gitea Actions 🚀
on:
push:
tags:
- 'v*'
jobs:
dist:
name: Create Archive
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Checkout Sourcecode
- uses: https://hub.cybercinch.nz/cybercinch/composer-build-action@main
- uses: https://hub.cybercinch.nz/guisea/gitea-composer-upload-action@main
with:
base_url: "${{ secrets.G_SERVER_URL}}"
access_token: "${{ secrets.G_TOKEN }}"
username: "${{ secrets.G_USERNAME }}"
owner: "cybercinch" # Override owner name for repository (Optional)
package_version: "${{ env.GITHUB_REF_NAME }}"