-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #308 from AIM-Harvard/saliency_patch
Add saliency notebook
- Loading branch information
Showing
12 changed files
with
3,347 additions
and
2,003 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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Auto Publish | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
@@ -12,28 +12,32 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
|
||
- name: Install poetry | ||
run: make setup | ||
|
||
|
||
- name: Install poeblix for version freezing | ||
run: poetry self add poeblix@latest | ||
|
||
- name: Bump version | ||
run: | | ||
poetry version prerelease | ||
- name: Commit & push changes | ||
- name: Commit changes | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Bump version" || echo "No changes to commit" | ||
git push | ||
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
- name: Push changes | ||
run: git push | ||
|
||
- name: Build with lockfile versions | ||
run: poetry blixbuild --only-lock | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
python_version: 3.8 | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
allow_poetry_pre_release: "yes" | ||
ignore_dev_requirements: "yes" | ||
password: ${{ secrets.PYPI_TOKEN }} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.