Skip to content

Commit

Permalink
Update python-app-2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0wwafa authored Nov 27, 2024
1 parent d0627fc commit ce36434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-app-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
cat logo.txt >/etc/issue
cat >>~root/.profile <<EOF1
eval \\$(cat /proc/\\$(pidof -x "sleep infinity")/environ | tr '\0' '\n' | awk -F= '{print "export \""\$1"\"=\""substr(\\$0, index(\\$0,\\$2))"\""}')
cd \\$HOME
EOF1
cat >>~runner/.profile <<EOF2
eval \\$(cat /proc/\\$(pidof -x "sleep infinity")/environ | tr '\0' '\n' | awk -F= '{print "export \""\$1"\"=\""substr(\\$0, index(\\$0,\\$2))"\""}')
cd \\$HOME
EOF2
ln -sf /usr/share/zoneinfo/Africa/Cairo /etc/localtime
lsof -Fn | grep -F '.log' | grep -v deleted | awk '/^n/ {print substr(\$0, 2)}' | xargs -I {} rm -rf {}
Expand Down

0 comments on commit ce36434

Please sign in to comment.