File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 37
37
echo " Renamed $filename "
38
38
done
39
39
40
-
41
- bash update_hiddify_core.sh
Original file line number Diff line number Diff line change 15
15
# this fetches all history so that we can read each commit
16
16
fetch-depth : 0
17
17
ref : ${{ github.head_ref }}
18
+ - name : Setup Go
19
+ uses : actions/setup-go@v5
20
+ with :
21
+ go-version-file : ' go.mod'
22
+ check-latest : false
18
23
19
24
- run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
20
25
shell : bash
@@ -24,13 +29,14 @@ jobs:
24
29
25
30
- run : echo "REPOSITORY_OWNER=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV
26
31
shell : bash
27
-
32
+
28
33
- name : Rename the project
29
34
run : |
30
35
echo "Renaming the project with -a(author) ${{ env.REPOSITORY_OWNER }} -n(name) ${{ env.REPOSITORY_NAME }} -u(urlname) ${{ env.REPOSITORY_URLNAME }}"
31
36
.github/rename_project.sh -a ${{ env.REPOSITORY_OWNER }} -n ${{ env.REPOSITORY_NAME }} -u ${{ env.REPOSITORY_URLNAME }} -d "Awesome Extension ${{ env.REPOSITORY_NAME }} created by ${{ env.REPOSITORY_OWNER }}"
32
37
rm .github/rename_project.sh
33
38
rm .github/workflows/rename_project.yaml
39
+ bash update_hiddify_core.sh
34
40
35
41
- uses : stefanzweifel/git-auto-commit-action@v4
36
42
with :
You can’t perform that action at this time.
0 commit comments