Merge pull request #6409 from sbesson/jul_jcl_2.x #9
Workflow file for this run
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: "Build and push artifacts" | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Release artifacts | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set version | |
run: | | |
tag_name="${GITHUB_REF##*/}" | |
tag_name=$(grep -o '[0-9].*' <<< $tag_name) | |
tag_value="${tag_name}-ice36" | |
echo "omero.version=$tag_value" >> etc/local.properties | |
- name: Build and package | |
run: ./build.py build-dev release-all release-src | |
- name: Create a release and upload Release Assets | |
run: | | |
cd target | |
tag_name="${GITHUB_REF##*/}" | |
sha256sum ./*.zip >> SHASUMS | |
gh release create "$tag_name" ./*.zip SHASUMS | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |