Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Update deployment for new NLE location.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiner committed May 3, 2024
1 parent cea4842 commit 63b871e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ jobs:
needs: test_sdist
if: github.event_name == 'release' && github.event.action == 'released'
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/nle
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Check version matches release tag
Expand All @@ -138,7 +143,4 @@ jobs:
# NOTE: we assume that dist/ contains a built sdist (and only that).
# Yes, we could be more defensively, but What Could Go Wrong?™
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1

0 comments on commit 63b871e

Please sign in to comment.