File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,13 +15,12 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v4
1717 - name : Setup Python
18- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v5 # Updated to v5
1919 with :
2020 python-version : " 3.10"
2121 - name : Syntax Check
2222 run : |
23- # This will fail if main_obf.py doesn't exist yet.
24- # To fix the Red X, you can put a '#' before the next line:
23+ # The "|| true" ensures it doesn't fail if the file is missing
2524 python -m py_compile main_obf.py || echo "No python file yet"
2625
2726 deploy-web :
@@ -31,10 +30,14 @@ jobs:
3130 - name : Checkout
3231 uses : actions/checkout@v4
3332 - name : Setup Pages
34- uses : actions/configure-pages@v3
35- - name : Upload
36- uses : actions/upload-pages-artifact@v2
33+ uses : actions/configure-pages@v4 # Updated to v4
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v3 # Updated to v3 (Pages uses v3 for now)
3736 with :
3837 path : ' .'
38+ - name : Deploy to GitHub Pages
39+ id : deployment
40+ uses : actions/deploy-pages@v4 # Updated to v4 with:
41+ path : ' .'
3942 - name : Deploy
4043 uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments