-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* gh: linux whl bundle attempt * fix: checkout w/ recursive submodules * change branchn * tweak upload assets * wheel upload attempt 3 * fix: artifact name collision * fix wheel release upload * fix: wheel release dirs * we go again * i hate gh actions * try use gh cli * fix: rename addon zip + move to main branch * fix: remove debug ls * fix: rename action
- Loading branch information
Showing
2 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release on Merge To Master | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
|
@@ -9,6 +9,7 @@ jobs: | |
needs: [bindings-linux] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
@@ -31,8 +32,14 @@ jobs: | |
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: dist/lol-blender-${{steps.release.outputs.tag_name}}.zip | ||
asset_name: lol-blender-${{steps.release.outputs.tag_name}}.zip | ||
asset_name: addon-lol-blender-${{steps.release.outputs.tag_name}}.zip | ||
asset_content_type: application/zip | ||
- uses: actions/download-artifact@v4 | ||
- name: Upload Release Wheels | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
run: | | ||
gh release upload ${{steps.release.outputs.tag_name}} ./wheels*/*.whl | ||
bindings-linux: | ||
runs-on: ubuntu-latest | ||
|
@@ -41,6 +48,8 @@ jobs: | |
target: [x86_64, i686] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
@@ -52,11 +61,10 @@ jobs: | |
manylinux: auto | ||
args: --release --out dist/ -m bindings/Cargo.toml | ||
- name: Upload wheels | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
asset_paths: '["./dist/*.whl"]' | ||
name: wheels-linux-${{matrix.target}} | ||
path: dist/*.whl | ||
permissions: | ||
contents: write | ||
pull-requests: read |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"editor.formatOnSaveMode": "file", | ||
"editor.formatOnSave": true | ||
"editor.formatOnSave": true, | ||
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix" | ||
} |