diff --git a/.github/actions/release-artifacts/action.yml b/.github/actions/publish-github-release/action.yml similarity index 96% rename from .github/actions/release-artifacts/action.yml rename to .github/actions/publish-github-release/action.yml index 4b139ead5535..d9e172c68452 100644 --- a/.github/actions/release-artifacts/action.yml +++ b/.github/actions/publish-github-release/action.yml @@ -1,5 +1,5 @@ -name: Release artifacts -description: Release artifacts +name: Publish GitHub release +description: Publish GitHub release inputs: version: description: Version to release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c61a72a64305..eb69ae99129a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ on: description: Build macos artifacts required: false default: false - release_artifacts: + publish_github_release: type: boolean description: Create GitHub release and upload artifacts required: false @@ -287,9 +287,9 @@ jobs: aws-cn-secret-access-key: ${{ secrets.AWS_CN_SECRET_ACCESS_KEY }} aws-cn-region: ${{ vars.AWS_RELEASE_BUCKET_REGION }} - release-artifacts: + publish-github-release: name: Create GitHub release and upload artifacts - if: ${{ inputs.release_artifacts || github.event_name == 'push' || github.event_name == 'schedule' }} + if: ${{ inputs.publish_github_release || github.event_name == 'push' || github.event_name == 'schedule' }} needs: [ allocate-runners, build-linux-amd64-artifacts, @@ -303,8 +303,8 @@ jobs: with: fetch-depth: 0 - - name: Release artifacts - uses: ./.github/actions/release-artifacts + - name: Publish GitHub release + uses: ./.github/actions/publish-github-release with: version: ${{ needs.allocate-runners.outputs.version }}