File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 20
20
uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : ' 0'
23
+ - name : Pre-fetch upload-artifact action (self-hosted only) ⚙️
24
+ if : contains(runner.labels, 'self-hosted')
25
+ run : |
26
+ mkdir -p ~/.setup-actions
27
+ cd ~/.setup-actions
28
+ if [ ! -d "upload-artifact" ]; then
29
+ echo "Cloning upload-artifact@v4..."
30
+ git clone --depth=1 --branch v4 https://github.com/actions/upload-artifact.git upload-artifact
31
+ else
32
+ echo "upload-artifact already fetched."
33
+ fi
23
34
- name : Bump version and push tag 👊
24
35
uses : anothrNick/github-tag-action@master
25
36
id : bump_version
62
73
steps :
63
74
- name : Checkout repo 📦
64
75
uses : actions/checkout@v4
76
+ - name : Pre-fetch upload-artifact action (self-hosted only) ⚙️
77
+ if : contains(runner.labels, 'self-hosted')
78
+ run : |
79
+ mkdir -p ~/.setup-actions
80
+ cd ~/.setup-actions
81
+ if [ ! -d "upload-artifact" ]; then
82
+ echo "Cloning upload-artifact@v4..."
83
+ git clone --depth=1 --branch v4 https://github.com/actions/upload-artifact.git upload-artifact
84
+ else
85
+ echo "upload-artifact already fetched."
86
+ fi
65
87
- name : Cache Maven packages 💾
66
88
uses : actions/cache@v3
67
89
with :
You can’t perform that action at this time.
0 commit comments