-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: Update anomalib and smp to point to pypi releases, update torch to avoid using urls * docs: Fix broken links for public images, update installation to mention pypi * build: Bump version * build: Update anomalib version * build: Upgrade version * build: Update pipeline to publish on pypi * build: Revert correct version
- Loading branch information
1 parent
1640df6
commit cb1fb4a
Showing
6 changed files
with
93 additions
and
307 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: PyPI release | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
publish-to-pypi: | ||
name: Publish to PyPI | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.10"] | ||
timeout-minutes: 60 | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/quadra | ||
permissions: | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build distribution 📦 | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
poetry build | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
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
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
Oops, something went wrong.