Skip to content

Commit

Permalink
fix upload-pypi actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AmintorDusko committed Aug 21, 2023
1 parent 3a05003 commit 99fba27
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
os: [ubuntu-latest]
arch: [aarch64]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_ppc64le.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
os: [ubuntu-latest]
arch: [ppc64le]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
os: [ubuntu-latest]
arch: [x86_64]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel_macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
os: [macos-11]
arch: [arm64]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand All @@ -134,7 +134,7 @@ jobs:
path: dist

- name: Upload wheels to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
os: [macos-12]
arch: [x86_64]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand All @@ -192,7 +192,7 @@ jobs:
path: dist

- name: Upload wheels to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_noarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

if: ${{ github.event_name == 'release' }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel_win_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
os: [windows-2022]
arch: [AMD64]
pl_backend: ["lightning_qubit"]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# if: ${{ github.event_name == 'release' || github.ref == 'refs/heads/master'}}
steps:
Expand All @@ -198,7 +198,7 @@ jobs:
path: dist

- name: Upload wheels to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 99fba27

Please sign in to comment.