Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kochelmonster authored Jan 4, 2022
1 parent 2881f5d commit 426d05b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Python Build and Upload

on: push
on: workflow_dispatch
#release:
# types: [published]

Expand All @@ -26,11 +26,11 @@ jobs:
- name: build package with conda
run: |
sudo --preserve-env=RUNNER_WORKSPACE conda build --python=${{ matrix.python-version }} github-build
- uses: actions/upload-artifact@v2
- uses: svenstaro/upload-release-action@v2
with:
name: macos-wheel-${{ matrix.python-version }}
path: /Users/runner/work/larch-pickle/*.whl
- uses: actions/upload-artifact@v2
with:
name: macos-conda-${{ matrix.python-version }}
path: /usr/local/miniconda/conda-bld/osx-64/larch*.bz2
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /Users/runner/work/larch-pickle/*.whl
file_glob: true
tag: ${{ github.ref }}
overwrite: true
body: "python wheel for macos and python ${{ matrix.python-version }}"

0 comments on commit 426d05b

Please sign in to comment.