Clean up echo commands in main.yml workflow #7
This file contains hidden or 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: Workflows with large secrets | |
| on: push | |
| jobs: | |
| my-job: | |
| name: My Job | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: get_val | |
| env: | |
| SPECIAL_KEY: ${{ secrets.FOURK_KEY2 }} | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive && sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get -y install unzip curl openjdk-16-jre-headless git openjdk-13-jre-headless git ruby npm openssh-client && \ | |
| [ -x /usr/bin/gem2.7 ] && sudo gem install bundler:2.2.15 && \ | |
| [ -x /usr/share/npm/bin/npm-cli.js ] && sudo npm install --global yarn && \ | |
| [ -x /usr/local/lib/node_modules/yarn/bin/yarn.js ] && curl -L -o /tmp/dependency-check.zip https://github.com/jeremylong/DependencyCheck/releases/download/v6.1.6/dependency-check-6.1.6-release.zip && \ | |
| cd /tmp && mkdir -p ~/.ssh/ && chmod 700 ~/.ssh/ && \ | |
| unzip dependency-check.zip && \ | |
| git clone https://github.com/JetBrains/sample_rails_app.git && \ | |
| echo "cloned stuff" && \ | |
| cd /tmp/sample_rails_app && npm install && \ | |
| mkdir -p /tmp/depCheck && \ | |
| /tmp/dependency-check/bin/dependency-check.sh -s /tmp/sample_rails_app/ -f JSON --project "rails sample app" -o /tmp/depCheck --disableBundleAudit | |
| echo "ALL DONE" |