-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publishing: Try just releasing origen to test server. Debug getting i…
…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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|