File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 run : echo "VERSION=${{inputs.branch}}-nightly" >> $GITHUB_ENV
6565 - name : Set version
6666 if : inputs.nightly == false
67- run : |
68- echo "VERSION=${{inputs.branch}}" >> $GITHUB_ENV
67+ run : echo "VERSION=${{inputs.branch}}" >> $GITHUB_ENV
68+ - name : Sanitize repo for container image names
6969 REPO=`echo "${{github.repository}}" | tr '[:upper:]' '[:lower:]'`
7070 echo "REPO=$REPO" >> $GITHUB_ENV
7171 - name : show version
7575 - name : Create GitHub Release
7676 id : create_release
7777 # Allow testing withing creating a release
78- if : github.event_name != 'pull_request'
78+ if : github.event_name != 'pull_request' && github.event.ref == 'refs/heads/develop'
7979 uses : softprops/action-gh-release@v2.1.0
8080 with :
8181 files : cwms-data-api/build/libs/cwms-data-api-${{env.VERSION}}.war
You can’t perform that action at this time.
0 commit comments