Skip to content

Branch Build (1.39) - main #39

Branch Build (1.39) - main

Branch Build (1.39) - main #39

Workflow file for this run

name: Build
run-name: "Branch Build (${{ github.run_attempt }}.${{ github.run_number }}) - ${{ github.ref_name }}"
on:
workflow_dispatch:
inputs:
amalgam-build:
description: |
(Optional) Amalgam build or version number. Defaults to pinned release.
Examples:
'6807310618',
'https://github.com/howsoai/amalgam/actions/runs/6807310618',
'57.0.1'
required: false
type: string
workflow_call:
inputs:
build-type:
required: false
type: string
optional-release-tag:
required: false
type: string
defaults:
run:
shell: bash
jobs:
metadata:
uses: howsoai/.github/.github/workflows/set-metadata.yml@main
secrets: inherit
with:
build-type: ${{ inputs.build-type }}
optional-release-tag: ${{ inputs.optional-release-tag }}
amalgam-build: ${{ inputs.amalgam-build }}
npm-test:
needs:
- metadata
uses: howsoai/.github/.github/workflows/npm-test.yml@main
secrets: inherit
with:
upstream-details: ${{ needs.metadata.outputs.upstream-details }}
release:
needs:
- metadata
- npm-test
if: inputs.build-type == 'release'
uses: howsoai/.github/.github/workflows/npm-release-open-source.yml@main
secrets: inherit
with:
version: ${{ needs.metadata.outputs.version }}