diff --git a/.github/workflows/main-publish-release.yml b/.github/workflows/main-publish-release.yml index 22d8ceca2b..992414bb07 100644 --- a/.github/workflows/main-publish-release.yml +++ b/.github/workflows/main-publish-release.yml @@ -54,6 +54,28 @@ jobs: with: credentials_json: ${{ secrets.RELEASES_SERVICE_ACCOUNT_JSON }} + - name: Create GitHub release + uses: actions/create-release@v1 + id: create_release + with: + draft: false + prerelease: false + release_name: v${{ steps.read_version.outputs.content }} + tag_name: v${{ steps.read_version.outputs.content }} + body_path: CHANGELOG.md + env: + GITHUB_TOKEN: ${{ github.token }} + + - name: Upload distribution binary file + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./distribution/target/dqo-distribution-${{steps.read_version.outputs.content}}-bin.zip + asset_name: dqo-distribution-${{steps.read_version.outputs.content}}-bin.zip + asset_content_type: application/zip + - id: 'upload-release-asia' uses: 'google-github-actions/upload-cloud-storage@v2' with: @@ -170,28 +192,6 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Create GitHub release - uses: actions/create-release@v1 - id: create_release - with: - draft: false - prerelease: false - release_name: v${{ steps.read_version.outputs.content }} - tag_name: v${{ steps.read_version.outputs.content }} - body_path: CHANGELOG.md - env: - GITHUB_TOKEN: ${{ github.token }} - - - name: Upload distribution binary file - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./distribution/target/dqo-distribution-${{steps.read_version.outputs.content}}-bin.zip - asset_name: dqo-distribution-${{steps.read_version.outputs.content}}-bin.zip - asset_content_type: application/zip - - name: Install python dependencies run: | python -m pip install --upgrade pip diff --git a/.run/dqo run.run.xml b/.run/dqo run.run.xml index 33a65375db..9e10352ee2 100644 --- a/.run/dqo run.run.xml +++ b/.run/dqo run.run.xml @@ -5,7 +5,7 @@