Skip to content

Commit

Permalink
Publishing: Try just releasing origen to test server. Debug getting i…
Browse files Browse the repository at this point in the history
…nfo to release job
  • Loading branch information
corey committed Nov 18, 2023
1 parent 96210d2 commit dc9b5f3
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,14 @@ jobs:
- name: List OM Wheels
run: ls -al ./om_wheels

- name: Push To PyPi Test Server
uses: pypa/[email protected]
with:
packages-dir: om_wheels
# user: __token__
password: ${{ secrets.PYPI_ORIGEN_METAL }}
repository-url: https://test.pypi.org/legacy/
verify_metadata: false
# - name: Push To PyPi Test Server
# uses: pypa/[email protected]
# with:
# packages-dir: om_wheels
# # user: __token__
# password: ${{ secrets.PYPI_ORIGEN_METAL }}
# repository-url: https://test.pypi.org/legacy/
# verify_metadata: false

- name: Push To PyPi Test Server
uses: pypa/[email protected]
Expand Down Expand Up @@ -261,12 +261,10 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: om_version
path: ./

- uses: actions/download-artifact@v3
with:
name: origen_version
path: ./

- uses: vimtor/[email protected]
with:
Expand All @@ -280,6 +278,7 @@ jobs:

- name: Get OM/Origen Versions
run: |
ls -al
cat ./om_version.txt
cat ./origen_version.txt
echo "om_version=$(cat ./om_version)" >> $GITHUB_ENV
Expand All @@ -297,14 +296,14 @@ jobs:
- name: Display Tag
run: echo ${{ env.tag }}

- name: Generate Github Release
uses: ncipollo/release-action@v1
with:
artifacts: ./om_wheels.zip, ./origen_wheels.zip
artifactErrorsFailBuild: true
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
commit: ${{ github.sha }}
tag: ${{ env.tag }}
# - name: Generate Github Release
# uses: ncipollo/release-action@v1
# with:
# artifacts: ./om_wheels.zip, ./origen_wheels.zip
# artifactErrorsFailBuild: true
# prerelease: ${{ github.event.inputs.prerelease == 'true' }}
# commit: ${{ github.sha }}
# tag: ${{ env.tag }}
cleanup:
needs: [build, puublish_to_pypi_test, release]
runs-on: ubuntu-latest
Expand Down

0 comments on commit dc9b5f3

Please sign in to comment.