Skip to content

Commit

Permalink
#1951 Change place where the variables are initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
radek2s authored and Limraj committed Mar 31, 2022
1 parent d6a37e6 commit 469954f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ jobs:
run: mkdir -p /home/runner/tomcat; cd /home/runner/tomcat; wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.53/bin/apache-tomcat-9.0.53.tar.gz; tar xvzf apache-tomcat-9.0.53.tar.gz
- name: Show Tomcat
run: ls $CATALINA_HOME
- name: Get Scada-LTS latest release version
id: relverjava
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: SCADA-LTS
repo: Scada-LTS
- name: Prepare Application Enviroment Version Vairables
working-directory: ./
run: ./version.sh ${{ steps.relverjava.outputs.release }} $GITHUB_RUN_ID $GITHUB_HEAD_REF $GITHUB_SHA $GITHUB_ACTOR $GITHUB_BASE_REF
- name: Test JUnit Scada Application
run: gradle test
- name: Build Scada-LTS WAR Application
Expand Down Expand Up @@ -122,6 +113,15 @@ jobs:
with:
key: ${{ runner.os }}-frontend-${{ github.run_id }}
path: ./scadalts-ui/dist
- name: Get Scada-LTS latest release version
id: relverjava
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: SCADA-LTS
repo: Scada-LTS
- name: Prepare Application Enviroment Version Vairables
working-directory: ./
run: ./version.sh ${{ steps.relverjava.outputs.release }} $GITHUB_RUN_ID $GITHUB_HEAD_REF $GITHUB_SHA $GITHUB_ACTOR $GITHUB_BASE_REF
- name: Install static web-dependencies
working-directory: ./WebContent/resources
run: npm install
Expand Down
3 changes: 0 additions & 3 deletions version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ echo "Build from GitHub commit: $commit"
echo "Initiated by: $actor"
echo "GitHub PullRequest branch: $pullRequestBranch"

pwd
echo $versionfile

sed -i "/slts.version.number=/c\slts.version.number=$milestone" $versionfile
sed -i "/slts.version.build=/c\slts.version.build=$build" $versionfile
sed -i "/slts.version.commit=/c\slts.version.commit=$commit" $versionfile
Expand Down

0 comments on commit 469954f

Please sign in to comment.