Skip to content

Commit 92f0dc7

Browse files
Create issue-791.yml
1 parent 7417894 commit 92f0dc7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/issue-791.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Checkout and Setup Workflow
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: [self-hosted, macos]
8+
steps:
9+
- name: Checkout Repository
10+
uses: actions/checkout@v4
11+
12+
- name: Setup Python
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: 3.9
16+
17+
- name: Check directory
18+
run: |
19+
if [ -d "Users/priyagupta108/actions-runner/_work/hostedtoolcache" ]; then
20+
echo "Python hostedtoolcache folder exists."
21+
else
22+
echo "Creating Python hostedtoolcache folder..."
23+
mkdir -p "Users/priyagupta108/actions-runner/_work/hostedtoolcache"
24+
echo "Python hostedtoolcache folder created."
25+
fi

0 commit comments

Comments
 (0)