mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
Update ci-blenderbim.yml after all makefile changes
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
name: ci-blenderbim
|
name: ci-blenderbim
|
||||||
|
|
||||||
|
# Differences from ci-blenderbim-daily.yml:
|
||||||
|
# - make has IS_STABLE=TRUE
|
||||||
|
# - action is never triggered and executed only manually
|
||||||
|
# - doesn't add a current date to the release and tag
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@@ -48,15 +53,20 @@ jobs:
|
|||||||
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
|
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
cp -r src/blenderbim src/blenderbim_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
|
cd src/blenderbim &&
|
||||||
cd src/blenderbim_${{ matrix.config.short_name }}_${{ matrix.pyver }} &&
|
|
||||||
make dist PLATFORM=${{ matrix.config.short_name }} PYVERSION=${{ matrix.pyver }} IS_STABLE=TRUE
|
make dist PLATFORM=${{ matrix.config.short_name }} PYVERSION=${{ matrix.pyver }} IS_STABLE=TRUE
|
||||||
|
- name: Find zip file name
|
||||||
|
id: find_zip
|
||||||
|
run: |
|
||||||
|
filepath=$(ls src/blenderbim/dist/blenderbim_*.zip)
|
||||||
|
echo "filepath=$filepath" >> $GITHUB_OUTPUT
|
||||||
|
echo "filename=$(basename $filepath)" >> $GITHUB_OUTPUT
|
||||||
- name: Upload zip file to release
|
- name: Upload zip file to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: src/blenderbim_${{ matrix.config.short_name }}_${{ matrix.pyver }}/dist/blenderbim-${{steps.version.outputs.version}}-${{ matrix.pyver }}-${{ matrix.config.short_name }}.zip
|
file: ${{ steps.find_zip.outputs.filepath }}
|
||||||
asset_name: blenderbim-${{steps.version.outputs.version}}-${{ matrix.pyver }}-${{ matrix.config.short_name }}.zip
|
asset_name: ${{ steps.find_zip.outputs.filename }}
|
||||||
release_name: "blenderbim-${{steps.version.outputs.version}}"
|
release_name: "blenderbim-${{steps.version.outputs.version}}"
|
||||||
tag: "blenderbim-${{steps.version.outputs.version}}"
|
tag: "blenderbim-${{steps.version.outputs.version}}"
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|||||||
Reference in New Issue
Block a user