File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 5454 echo 'alarm ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
5555 mkdir /home/alarm/ -p
5656 chown alarm /home/alarm/
57- - name : Setup GPG
58- run : |
59- # Import the GPG private key
60- echo 1
61- ${{ env.BUILD_ALARM_SH }} 'echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --passphrase "${{ secrets.GPG_PASSPHRASE }}" --pinentry-mode loopback'
62- # Configure the GPG agent to use the passphrase
63- echo 2
64- ${{ env.BUILD_ALARM_SH }} 'echo "default-cache-ttl 18000" > ~/.gnupg/gpg-agent.conf'
65- echo 3
66- ${{ env.BUILD_ALARM_SH }} 'echo "max-cache-ttl 18000" >> ~/.gnupg/gpg-agent.conf'
67- echo 4
68- ${{ env.BUILD_ALARM_SH }} 'gpgconf --reload gpg-agent'
69- echo 5
7057
7158 - name : Checkout repository
7259 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments