We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da3776 commit a4574a9Copy full SHA for a4574a9
.github/workflows/main.yml
@@ -53,6 +53,7 @@ jobs:
53
fetch-depth: 0
54
- name: Install jstyleson
55
run: pip3 install jstyleson
56
+
57
- name: Update size
58
run: python3 .github/update_size.py
59
@@ -65,7 +66,8 @@ jobs:
65
66
branch_name=$GITHUB_HEAD_REF
67
fi
68
echo "branch_name=$branch_name" >> $GITHUB_ENV
- echo "Switched to branch: $branch_name"
69
+ git checkout $branch_name || git checkout -b $branch_name
70
+ echo "Checked out branch: $branch_name"
71
72
- name: Commit changes to the correct branch
73
uses: EndBug/add-and-commit@v9
0 commit comments