1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-24 06:50:13 +01:00

Update main.yml

This commit is contained in:
Colin Basnett 2024-06-10 12:02:36 -07:00 committed by GitHub
parent 3fbef00edc
commit 1c98790cfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ jobs:
env: env:
BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release
steps: steps:
- uses: actions/checkout@v3
- name: Set derived environment variables - name: Set derived environment variables
run: | run: |
echo "BLENDER_FILENAME=${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV echo "BLENDER_FILENAME=${{ env.BLENDER_VERSION }}.tar.xz" >> $GITHUB_ENV
@ -33,13 +34,9 @@ jobs:
run: | run: |
echo "${{ github.workspace }}/${{ env.BLENDER_VERSION }}/" >> $GITHUB_PATH echo "${{ github.workspace }}/${{ env.BLENDER_VERSION }}/" >> $GITHUB_PATH
- name: Sanity check that Blender is on the path - name: Sanity check that Blender is on the path
run: |
blender --version
- uses: actions/checkout@v3
- name: Build addon
run: | run: |
pushd ./io_scene_psk_psa pushd ./io_scene_psk_psa
${{ github.workspace }}/${{ env.BLENDER_VERSION }}/blender --command extension build blender --command extension build
popd popd
- name: Archive addon - name: Archive addon
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4