Skip to content

feat: Separate build and deploy jobs #1

feat: Separate build and deploy jobs

feat: Separate build and deploy jobs #1

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Build installer
on:
push:
branches-ignore: ["dui3/alpha", "main", "development"]
pull_request:
branches: ["*"]
workflow_call:
outputs:
version:
description: "The computed version number for this run"

Check failure on line 14 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build installer

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 14, Col: 9): Required property is missing: value
jobs:
build:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.set-version.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: "5.x"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
- name: Set connector version
run: |
python patch_version.py ${{steps.gitversion.outputs.semVer}}
- uses: montudor/action-zip@v1
with:
args: zip -q -r sketchup.zip vendor speckle_connector_3/ speckle_connector_3.rb
- name: ⬆️ Upload artifacts
uses: actions/upload-artifact@v4
with:
name: output-${{steps.gitversion.outputs.semVer}}
path: sketchup.zip
compression-level: 0 # no compression
- id: set-version
name: Set version to output
run: echo "version=${{steps.gitversion.outputs.semVer}}" >> "$GITHUB_OUTPUT" # version will be retrieved from tag?