Skip to content

Commit b222e30

Browse files
author
Massimiliano Giovagnoli
committed
chore(.github/workflows/publish.yaml): set correct checkout depth
Signed-off-by: Massimiliano Giovagnoli <me@maxgio.it>
1 parent 606e714 commit b222e30

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: '0'
1719
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
1820
- uses: actions/checkout@v2
1921
with:
@@ -32,6 +34,8 @@ jobs:
3234
runs-on: ubuntu-latest
3335
steps:
3436
- uses: actions/checkout@v2
37+
with:
38+
fetch-depth: '0'
3539
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
3640
- uses: actions/checkout@v2
3741
with:
@@ -50,6 +54,8 @@ jobs:
5054
runs-on: ubuntu-latest
5155
steps:
5256
- uses: actions/checkout@v2
57+
with:
58+
fetch-depth: '0'
5359
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
5460
- uses: actions/checkout@v2
5561
with:
@@ -68,6 +74,8 @@ jobs:
6874
runs-on: ubuntu-latest
6975
steps:
7076
- uses: actions/checkout@v2
77+
with:
78+
fetch-depth: '0'
7179
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
7280
- uses: actions/checkout@v2
7381
with:
@@ -86,6 +94,8 @@ jobs:
8694
runs-on: ubuntu-latest
8795
steps:
8896
- uses: actions/checkout@v2
97+
with:
98+
fetch-depth: '0'
8999
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
90100
- uses: actions/checkout@v2
91101
with:
@@ -104,6 +114,8 @@ jobs:
104114
runs-on: ubuntu-latest
105115
steps:
106116
- uses: actions/checkout@v2
117+
with:
118+
fetch-depth: '0'
107119
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
108120
- uses: actions/checkout@v2
109121
with:
@@ -122,6 +134,8 @@ jobs:
122134
runs-on: ubuntu-latest
123135
steps:
124136
- uses: actions/checkout@v2
137+
with:
138+
fetch-depth: '0'
125139
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
126140
- uses: actions/checkout@v2
127141
with:
@@ -140,6 +154,8 @@ jobs:
140154
runs-on: ubuntu-latest
141155
steps:
142156
- uses: actions/checkout@v2
157+
with:
158+
fetch-depth: '0'
143159
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
144160
- uses: actions/checkout@v2
145161
with:
@@ -158,6 +174,8 @@ jobs:
158174
runs-on: ubuntu-latest
159175
steps:
160176
- uses: actions/checkout@v2
177+
with:
178+
fetch-depth: '0'
161179
- run: echo "STABLE=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
162180
- uses: actions/checkout@v2
163181
with:

0 commit comments

Comments
 (0)