Skip to content

Commit

Permalink
set test environment for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque committed May 13, 2024
1 parent 7479142 commit a7ed8f1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,14 @@ jobs:
# uses: ./.github/workflows/docs.yml
# secrets: inherit

ref_name:
runs-on: ubuntu-latest
steps:
- name: Echo
run: |
echo ${{ github.ref_name }}
echo $GITHUB_REF_NAME
echo ${{ github.event.release.tag_name }}
release-core-pypi:
needs: [ build ]
runs-on: ubuntu-latest
if: |
github.event.inputs.release-pypi == 'true' && ( startsWith(github.ref_name, 'fairchem_core-') || startsWith(github.event.release.tag_name, 'fairchem_core-') )
environment:
name: deploy-pypi
name: deploy-test-pypi
url: https://pypi.org/p/fairchem-core/

permissions:
Expand All @@ -60,9 +51,9 @@ jobs:
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true
packages-dir: dist-core/
skip-existing: true
verbose: true

# write a release-block for each packages
# copy over to test-release as well!!!

0 comments on commit a7ed8f1

Please sign in to comment.