Mitm Setup Java #49
This file contains 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: Mitm Setup Java | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
# env: | |
# SSL_CERT_DIR: "/home/mitmproxyuser/.mitmproxy/" | |
jobs: | |
mitm-setup-java: | |
name: mitm setup java | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: h0x0er/harden-runner@mitm-int | |
with: | |
egress-policy: audit | |
- run: ps aux | |
- run: dig dns.google | |
- run: dig cloudflare-dns.com | |
- run: dig int.api.stepsecurity.io | |
- run: sudo dpkg-reconfigure ca-certificates | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 |