Skip to content

Commit

Permalink
Use the absolute path of cert_expired.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh committed Jan 8, 2025
1 parent c46ea2b commit 21b4286
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/check_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ jobs:
- name: Set output based on Fastlane result
id: set_output
run: |
if [ -f cert_expired.txt ]; then
CERT_EXPIRED_FILE="/home/runner/work/LoopWorkspace/LoopWorkspace/fastlane/cert_expired.txt"
if [ -f "$CERT_EXPIRED_FILE" ]; then
# Display the content of cert_expired.txt in the logs
echo "Content of cert_expired.txt:"
cat cert_expired.txt
echo "cert_expired=$(cat cert_expired.txt)" >> $GITHUB_ENV
cat "$CERT_EXPIRED_FILE"
echo "cert_expired=$(cat $CERT_EXPIRED_FILE)" >> $GITHUB_ENV
else
echo "Content of cert_expired.txt:"
cat cert_expired.txt
echo "cert_expired=false" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 21b4286

Please sign in to comment.