3 Commits

Author SHA1 Message Date
6e1f58cd8e fix: yarn install
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m39s
2026-03-18 23:17:18 -04:00
cc6903a799 fix: Update for new yarn
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 3m8s
2026-03-18 23:11:38 -04:00
6c4d047bf0 fix: lock yarn version
Some checks failed
Build BAB Application Deployment Artifact / build (push) Has been cancelled
2026-03-18 23:09:03 -04:00

View File

@@ -1,5 +1,6 @@
name: Build BAB Application Deployment Artifact name: Build BAB Application Deployment Artifact
run-name: ${{ gitea.actor }} is building a BAB App artifact 🚀 run-name: ${{ gitea.actor }} is building a BAB App artifact 🚀
on: on:
push: push:
branches: branches:
@@ -9,42 +10,50 @@ on:
jobs: jobs:
build: build:
env: runs-on: ubuntu-latest
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-18.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v2 uses: actions/setup-node@v4
with: with:
node-version: "20.x" node-version: "20"
- name: Install yarn
run: npm install --global yarn - name: Enable Corepack and Yarn
- name: Install yarn dependencies run: |
run: yarn install corepack enable
- name: Install Quasar CLI corepack prepare yarn@stable --activate
run: yarn global add @quasar/cli
- name: Temporary - Invoke custom qcalendar build - name: Install dependencies
run: quasar ext invoke @quasar/qcalendar run: yarn install --immutable
- name: Invoke Quasar extension build
run: yarn dlx @quasar/cli ext invoke @quasar/qcalendar
- name: Create env file - name: Create env file
run: | run: echo "${{ vars.ENV_FILE }}" > .env.local
echo "${{ vars.ENV_FILE }}" > .env.local
- name: Show env file - name: Show env file
run: | run: cat .env.local
/bin/cat .env.local
- name: Build and Release - name: Build and Release
id: build id: build
run: | run: npx semantic-release
npx semantic-release
env: env:
GITEA_TOKEN: ${{ secrets.GT_TOKEN }} GITEA_TOKEN: ${{ secrets.GT_TOKEN }}
GITEA_URL: ${{ vars.GT_URL }} GITEA_URL: ${{ vars.GT_URL }}
- name: Trigger Ansible Deploy Playbook - name: Trigger Ansible Deploy Playbook
uses: https://github.com/distributhor/workflow-webhook@v3 uses: https://github.com/distributhor/workflow-webhook@v3
with: with:
webhook_url: ${{ vars.WEBHOOK_URL }} webhook_url: ${{ vars.WEBHOOK_URL }}
webhook_auth_type: "bearer" webhook_auth_type: bearer
webhook_auth: "Token:${{ secrets.WEBHOOK_SECRET }}" webhook_auth: Token:${{ secrets.WEBHOOK_SECRET }}
verbose: true verbose: true
data: '{ "artifact_url": "${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/v${{ steps.build.outputs.VERSION }}/release-${{ steps.build.outputs.VERSION }}.tar.gz" }' data: >
{
"artifact_url":
"${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/v${{ steps.build.outputs.VERSION }}/release-${{ steps.build.outputs.VERSION }}.tar.gz"
}