Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
Build both x64 and arm64 Mac releases, remove Rust caching
  • Loading branch information
lasa01 committed Jun 18, 2024
1 parent 805522a commit 8c632b5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest]
os: [macos-13, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}

Expand All @@ -43,7 +43,6 @@ jobs:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'requirements-dev.txt'
- uses: Swatinem/rust-cache@v1
- name: Dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -52,7 +51,7 @@ jobs:
run: python setup.py bdist_blender_addon
- name: Rename artifact
shell: bash
run: for filename in dist/*.zip; do mv "${filename}" "${filename%.zip}-${{ runner.os }}.zip"; done;
run: for filename in dist/*.zip; do mv "${filename}" "${filename%.zip}-${{ runner.os }}-${{ runner.arch }}.zip"; done;
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -74,7 +73,6 @@ jobs:
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 8c632b5

Please sign in to comment.