Skip to content

Commit

Permalink
Update publish_artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobento committed Jul 7, 2021
1 parent d9686f6 commit 39994f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Release :: Publish"

on:
release:
types: [published]
types: [published, edited]

jobs:
publish_release_artifacts:
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
DOWNLOAD_HUB_linuxUrl: "https://github.com/kiegroup/kogito-tooling/releases/download/${{ steps.release-tag.outputs.tag }}/business_modeler_hub_preview_linux_${{ steps.release-tag.outputs.tag }}.tar.gz"
DOWNLOAD_HUB_macOsUrl: "https://github.com/kiegroup/kogito-tooling/releases/download/${{ steps.release-tag.outputs.tag }}/business_modeler_hub_preview_macos_${{ steps.release-tag.outputs.tag }}.zip"
DOWNLOAD_HUB_windowsUrl: "https://github.com/kiegroup/kogito-tooling/releases/download/${{ steps.release-tag.outputs.tag }}/business_modeler_hub_preview_windows_${{ steps.release-tag.outputs.tag }}.zip"
KIE_TOOLING_EXTENDED_SERVICES__linuxDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release_json.outputs.tag }}/kie_tooling_extended_services_linux_${{ steps.release_json.outputs.tag }}.tar.gz"
KIE_TOOLING_EXTENDED_SERVICES__macOsDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release_json.outputs.tag }}/kie_tooling_extended_services_macos_${{ steps.release_json.outputs.tag }}.dmg"
KIE_TOOLING_EXTENDED_SERVICES__windowsDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release_json.outputs.tag }}/kie_tooling_extended_services_windows_${{ steps.release_json.outputs.tag }}.exe"
KIE_TOOLING_EXTENDED_SERVICES__compatibleVersion: "${{ steps.release_json.outputs.tag }}"
KIE_TOOLING_EXTENDED_SERVICES__linuxDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release-tag.outputs.tag }}/kie_tooling_extended_services_linux_${{ steps.release-tag.outputs.tag }}.tar.gz"
KIE_TOOLING_EXTENDED_SERVICES__macOsDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release-tag.outputs.tag }}/kie_tooling_extended_services_macos_${{ steps.release-tag.outputs.tag }}.dmg"
KIE_TOOLING_EXTENDED_SERVICES__windowsDownloadUrl: "https://github.com/kiegroup/kogito-tooling-go/releases/download/${{ steps.release-tag.outputs.tag }}/kie_tooling_extended_services_windows_${{ steps.release-tag.outputs.tag }}.exe"
KIE_TOOLING_EXTENDED_SERVICES__compatibleVersion: "${{ steps.release-tag.outputs.tag }}"
KOGITO_ONLINE_EDITOR_GTM_ID: "GTM-PQGMKNW"
DISPLAY: ":99.0"
run: cd kogito-tooling && yarn bootstrap && yarn run build:prod && cd -
Expand Down Expand Up @@ -101,4 +101,4 @@ jobs:
NPM_TOKEN: ${{ secrets.KIEGROUP_NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
cd kogito-tooling && yarn lerna exec --scope @kogito-tooling/* --ignore @kogito-tooling/online-editor --ignore @kogito-tooling/desktop --ignore @kogito-tooling/hub -- npm publish --access public && cd -
cd kogito-tooling && npx lerna exec --scope @kogito-tooling/* --ignore @kogito-tooling/online-editor --ignore @kogito-tooling/desktop --ignore @kogito-tooling/hub -- npm publish --access public && cd -

0 comments on commit 39994f1

Please sign in to comment.