Merge branch 'main' into ptr #1489
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Development pipeline | |
on: | |
push: | |
branches: | |
- "*" | |
- "!feature/" | |
tags-ignore: | |
- '**' | |
jobs: | |
release: | |
name: Publish development build to CDN | |
runs-on: ubuntu-22.04 | |
env: | |
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Workaround checkout issues | |
run: | | |
git fetch --tags --force | |
- name: Create Package | |
uses: BigWigsMods/packager@v2 | |
with: | |
args: -n "{package-name}-$GITHUB_REF_NAME-{project-version}" | |
- name: Get package name | |
run: | | |
echo "PACKAGE=$(find .release -type f -name *.zip -printf "%f\n")" >> $GITHUB_ENV | |
- name: Publish package | |
run: | | |
curl https://api.tukui.org/v1/upload/dev/$PACKAGE --upload-file .release/$PACKAGE -H "X-Tukui-Key: $DEPLOY_KEY" -H "Content-Type: application/zip" |