Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Jan 7, 2024
1 parent f56a3fd commit 466c8ea
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,20 @@ on:
pull_request:

jobs:
build_deploy:
name: Build and deploy
build-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v5
name: Install Python
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install requirements
python-version: 3.8

- name: Install required packages
run: |
python -m pip install -U pip
python -m pip install build
Expand All @@ -32,7 +30,8 @@ jobs:
run: |
python -m build
- uses: actions/upload-artifact@v4
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: ./dist
Expand All @@ -44,12 +43,9 @@ jobs:
permissions:
id-token: write

steps:
- name: Download the wheels
uses: actions/download-artifact@v4
with:
path: dist/
merge-multiple: true
run: |
ls -l dist/
#
# - name: Publish package to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 466c8ea

Please sign in to comment.