Create Release #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release | |
on: | |
workflow_dispatch: | |
inputs: | |
release_tag: | |
required: true | |
type: string | |
jobs: | |
release: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y $(find . -name apt-requirements.txt | xargs sed -e "s/#.*//g") | |
- name: Build | |
run: | | |
git tag ${{ inputs.release_tag }} | |
bazel build --stamp :release | |
- name: Test | |
run: | | |
echo "No tests to run" | |
# bazel test //... | |
- name: Publish Release | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
bazel run :release -- ${{ inputs.release_tag }} |