mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
62f627ecc6
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: ci-ifcsverchok
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
activate:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
github.repository == 'IfcOpenShell/IfcOpenShell'
|
|
steps:
|
|
- name: Set env
|
|
run: echo ok go
|
|
|
|
build:
|
|
needs: activate
|
|
name: ifcsverchok
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-python@v6 # https://github.com/actions/setup-python
|
|
with:
|
|
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
|
python-version: '3.11'
|
|
- name: Get current version
|
|
id: version
|
|
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
|
|
- name: Compile
|
|
run: |
|
|
cd src/ifcsverchok
|
|
make dist IS_STABLE=TRUE
|
|
- name: Upload zip file to release
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: src/ifcsverchok/dist/ifcsverchok-${{steps.version.outputs.version}}.zip
|
|
asset_name: ifcsverchok-${{steps.version.outputs.version}}.zip
|
|
release_name: "ifcsverchok-${{steps.version.outputs.version}}"
|
|
tag: "ifcsverchok-${{steps.version.outputs.version}}"
|
|
overwrite: true
|