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

Update deployment for new NLE location. #374

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading