Skip to content

Commit

Permalink
Remove old js min files in Artifacts actions
Browse files Browse the repository at this point in the history
This addresses issue #528
  • Loading branch information
marohrdanz committed Jun 21, 2024
1 parent b06dcd4 commit 58a3717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/NG-CHM-Artifacts_push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ jobs:
cp ../NGCHM/WebContent/ngChmApp.html viewer.standalone/
echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.standalone/build_version.txt
echo "Git hash: ${{ github.sha }}" >> viewer.standalone/build_version.txt
git rm viewer.build/server.app/javascript/*.js # remove old versions of minified javascript files
cp -r ../NGCHM/WebContent/server.app viewer.build/
echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.build/server.app/build_version.txt
echo "Git hash: ${{ github.sha }}" >> viewer.build/server.app/build_version.txt
rm -rf ../NGCHM/WebContent/server.app
cp -r ../NGCHM/WebContent/ viewer.source/
echo "Build tag: ${{ needs.make_build_tag.outputs.tag_name }}" > viewer.source/WebContent/build_version.txt
echo "Git hash: ${{ github.sha }}" >> viewer.source/WebContent/build_version.txt
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/NG-CHM-Artifacts_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
cp ../NGCHM/WebContent/ngChmApp.html viewer.standalone/
echo "Build tag: ${{ github.ref_name }}" > viewer.standalone/build_version.txt
echo "Git hash: ${{ github.sha }}" >> viewer.standalone/build_version.txt
git rm viewer.build/server.app/javascript/*.js # rm old minified js files
cp -r ../NGCHM/WebContent/server.app viewer.build/
echo "Build tag: ${{ github.ref_name }}" > viewer.build/server.app/build_version.txt
echo "Git hash: ${{ github.sha }}" >> viewer.build/server.app/build_version.txt
Expand Down

0 comments on commit 58a3717

Please sign in to comment.