Using the proper commandline to generate sha256 checksum of files. Added autoescaping to the Jinja2 templates in response to semgrep results.

This commit is contained in:
pyth0n1c
2021-08-12 13:26:29 -07:00
parent 9d32f23bbc
commit b6b5f9317f
6 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -231,10 +231,10 @@ jobs:
slim package -o upload DA-ESS_AmazonWebServices_Content
cp upload/DA-ESS-ContentUpdate-*.tar.gz DA-ESS-ContentUpdate-latest.tar.gz
sha256 DA-ESS-ContentUpdate-latest.tar.gz > checksum.txt
sha256sum DA-ESS-ContentUpdate-latest.tar.gz > checksum.txt
cp upload/DA-ESS_AmazonWebServices_Content-*tar.gz DA-ESS_AmazonWebServices_Content-latest.tar.gz
sha256 DA-ESS_AmazonWebServices_Content-latest.tar.gz > checksum.txt
sha256sum DA-ESS_AmazonWebServices_Content-latest.tar.gz > checksum.txt
- name: store_artifacts
uses: actions/upload-artifact@v2