Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove release_name from github action releases #739

Merged
merged 2 commits into from
May 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 9 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,21 @@ jobs:
steps:
- name: "Checkout the sources"
uses: actions/checkout@v2.3.1
- name: Install JDK 11
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
- name: Setup Bazelisk
uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "/home/runner/.cache/bazel"
key: caches-${{ runner.os }}-release
- name: Build release artifact
run: mkdir -p bazel-bin/ && touch bazel-bin/rules_kotlin_release.tgz
- name: Create release sha256
run: shasum -a 256 bazel-bin/rules_kotlin_release.tgz > bazel-bin/rules_kotlin_release.tgz.sha256
- name: Upload release artifact
- name: Upload bazel-bin/rules_kotlin_release.tgz
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bazel-bin/rules_kotlin_release.tgz
tag: ${{ github.ref }}
overwrite: false
- name: Upload bazel-bin/rules_kotlin_release.tgz.sha256
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bazel-bin/rules_kotlin_release.*
file: bazel-bin/rules_kotlin_release.tgz.sha256
tag: ${{ github.ref }}
file_glob: true
overwrite: false
prerelease: true
release_name: Kotlin rules for Bazel - ${{ github.ref }}