File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -105,18 +105,22 @@ jobs:
105
105
defaults :
106
106
run :
107
107
shell : su - swifter -c "/bin/bash --login -eo pipefail {0}"
108
- working-directory : /home/swifter
109
108
steps :
110
109
- name : Create a new user
111
110
shell : bash
112
- working-directory : /
113
111
run : |
114
112
yum install sudo usermode -y
115
113
useradd swifter
116
114
echo "swifter ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
117
115
118
116
- name : Checkout
119
117
uses : actions/checkout@v2
118
+ with :
119
+ path : repo
120
+
121
+ - name : Move repo
122
+ run : |
123
+ sudo mv GITHUB_WORKSPACE/repo/* $HOME
120
124
121
125
- name : Test swiftbox version
122
126
run : |
@@ -198,11 +202,9 @@ jobs:
198
202
defaults :
199
203
run :
200
204
shell : su - swifter -c "/bin/bash --login -eo pipefail {0}"
201
- working-directory : /home/swifter
202
205
steps :
203
206
- name : Create a new user
204
207
shell : bash
205
- working-directory : /
206
208
run : |
207
209
yum install sudo usermode -y
208
210
useradd swifter
@@ -214,6 +216,12 @@ jobs:
214
216
215
217
- name : Checkout
216
218
uses : actions/checkout@v2
219
+ with :
220
+ path : repo
221
+
222
+ - name : Move repo
223
+ run : |
224
+ sudo mv $GITHUB_WORKSPACE/repo/* $HOME
217
225
218
226
- name : Test swiftbox version
219
227
run : |
You can’t perform that action at this time.
0 commit comments