release workflow updates
MODIFY
.github/workflows/release.yaml
.github/workflows/release.yaml
@@ -38,9 +38,10 @@ jobs:
run: |
pwd
mvn -version
- exit 1
- name: Set up settings.xml
run: |
+ mkdir -p /home/runner/.m2
+ chmod 755 /home/runner/.m2
echo "<settings><servers><server><id>${{ secrets.OSSRH_ID }}</id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_TOKEN }}</password></server></servers><profiles><profile><id>${{ secrets.OSSRH_ID }}</id><activation><activeByDefault>true</activeByDefault></activation><properties><gpg.executable>gpg</gpg.executable><gpg.passphrase>${{ secrets.GPG_PASSPHRASE}}</gpg.passphrase></properties></profile></profiles></settings>" > /home/runner/.m2/settings.xml
cat /home/runner/.m2/settings.xml
@@ -162,7 +163,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`
- asset_path: /home/runner/work/apiman/releases/apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip
+ asset_path: /home/runner/work/apiman/apiman/apiman/releases/apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip
asset_name: apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip
asset_content_type: application/zip
- name: Upload WildFly Overlay Asset (asc)
@@ -171,7 +172,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`
- asset_path: /home/runner/work/apiman/releases/apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip.asc
+ asset_path: /home/runner/work/apiman/apiman/apiman/releases/apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip.asc
asset_name: apiman-distro-wildfly-${{steps.metadata.outputs.release-version}}-overlay.zip.asc
asset_content_type: application/octet-stream
- name: Upload Vert.x Asset
@@ -180,7 +181,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its ID to get its outputs object, which include a `upload_url`
- asset_path: /home/runner/work/apiman/releases/apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip
+ asset_path: /home/runner/work/apiman/apiman/apiman/releases/apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip
asset_name: apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip
asset_content_type: application/zip
- name: Upload Vert.x Asset (asc)
@@ -189,7 +190,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`
- asset_path: /home/runner/work/apiman/releases/apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip.asc
+ asset_path: /home/runner/work/apiman/apiman/apiman/releases/apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip.asc
asset_name: apiman-distro-vertx-${{steps.metadata.outputs.release-version}}.zip.asc
asset_content_type: application/octet-stream
- name: Generate Release Notes

release workflow updates