You've already forked ugly-queue
27 lines
836 B
YAML
27 lines
836 B
YAML
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@v1
|
|
- run: |
|
|
ls -lah
|
|
ls -lah build/
|
|
- uses: https://hub.cybercinch.nz/guisea/gitea-composer-upload-action@master
|
|
with:
|
|
baseurl: "${{ secrets.G_SERVER_URL}}"
|
|
access_token: "${{ secrets.G_TOKEN }}"
|
|
username: "${{ secrets.G_USERNAME }}"
|
|
owner: "cybercinch" # Override owner name for repository (Optional) Only if different from username
|
|
package_version: "${{ env.GITHUB_REF_NAME }}"
|
|
overwrite_files: "true"
|
|
|