|
21 | 21 | # Steps represent a sequence of tasks that will be executed as part of the job |
22 | 22 | steps: |
23 | 23 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
24 | | - - uses: actions/checkout@v2 |
| 24 | + - uses: actions/checkout@v4 |
25 | 25 |
|
26 | 26 | # Make Symlinks |
27 | 27 | - name: Create Vagrant Like Environment |
@@ -104,127 +104,8 @@ jobs: |
104 | 104 | MYGID=$(id -g -n) |
105 | 105 | sudo chown -R $MYUID:$MYGID "$GITHUB_WORKSPACE/log" |
106 | 106 |
|
107 | | - - uses: actions/upload-artifact@v2 |
| 107 | + - uses: actions/upload-artifact@v3 |
108 | 108 | if: ${{ always() }} |
109 | 109 | with: |
110 | 110 | name: logs-on-docker |
111 | 111 | path: "${{ github.workspace }}/log" |
112 | | - |
113 | | - # This workflow contains a single job called "build" |
114 | | - on-stable: |
115 | | - name: MacOS 10.15 Stable Reprovision |
116 | | - # The type of runner that the job will run on |
117 | | - runs-on: macos-10.15 |
118 | | - |
119 | | - # Steps represent a sequence of tasks that will be executed as part of the job |
120 | | - steps: |
121 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
122 | | - - uses: actions/checkout@v2 |
123 | | - with: |
124 | | - ref: stable |
125 | | - |
126 | | - - name: Cache Vagrant boxes |
127 | | - uses: actions/cache@v2 |
128 | | - with: |
129 | | - path: ~/.vagrant.d/boxes |
130 | | - key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }} |
131 | | - restore-keys: | |
132 | | - ${{ runner.os }}-vagrant- |
133 | | -
|
134 | | - - name: install goodhosts |
135 | | - run: vagrant plugin install --local |
136 | | - |
137 | | - - name: vagrant up (stable) |
138 | | - run: vagrant up |
139 | | - |
140 | | - - uses: actions/checkout@v2 |
141 | | - with: |
142 | | - clean: false |
143 | | - |
144 | | - - name: vagrant up (current branch) |
145 | | - run: vagrant up --provision |
146 | | - |
147 | | - - name: tests |
148 | | - run: provision/tests/macos-tests.sh |
149 | | - |
150 | | - - uses: actions/upload-artifact@v2 |
151 | | - if: ${{ always() }} |
152 | | - with: |
153 | | - name: logs-on-stable |
154 | | - path: "${{ github.workspace }}/log" |
155 | | - |
156 | | - on-develop: |
157 | | - name: MacOS 10.15 Develop Reprovision |
158 | | - # The type of runner that the job will run on |
159 | | - runs-on: macos-10.15 |
160 | | - |
161 | | - # Steps represent a sequence of tasks that will be executed as part of the job |
162 | | - steps: |
163 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
164 | | - - uses: actions/checkout@v2 |
165 | | - with: |
166 | | - ref: develop |
167 | | - |
168 | | - - name: Cache Vagrant boxes |
169 | | - uses: actions/cache@v2 |
170 | | - with: |
171 | | - path: ~/.vagrant.d/boxes |
172 | | - key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }} |
173 | | - restore-keys: | |
174 | | - ${{ runner.os }}-vagrant- |
175 | | -
|
176 | | -
|
177 | | - - name: install goodhosts |
178 | | - run: vagrant plugin install --local |
179 | | - |
180 | | - - name: vagrant up (develop) |
181 | | - run: vagrant up |
182 | | - |
183 | | - - uses: actions/checkout@v2 |
184 | | - with: |
185 | | - clean: false |
186 | | - |
187 | | - - name: vagrant up (current branch) |
188 | | - run: vagrant up --provision |
189 | | - |
190 | | - - name: tests |
191 | | - run: provision/tests/macos-tests.sh |
192 | | - |
193 | | - - uses: actions/upload-artifact@v2 |
194 | | - if: ${{ always() }} |
195 | | - with: |
196 | | - name: logs-on-develop |
197 | | - path: "${{ github.workspace }}/log" |
198 | | - |
199 | | - on-clean: |
200 | | - name: MacOS 10.15 Clean Provision |
201 | | - # The type of runner that the job will run on |
202 | | - runs-on: macos-10.15 |
203 | | - |
204 | | - # Steps represent a sequence of tasks that will be executed as part of the job |
205 | | - steps: |
206 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
207 | | - - uses: actions/checkout@v2 |
208 | | - |
209 | | - - name: Cache Vagrant boxes |
210 | | - uses: actions/cache@v2 |
211 | | - with: |
212 | | - path: ~/.vagrant.d/boxes |
213 | | - key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }} |
214 | | - restore-keys: | |
215 | | - ${{ runner.os }}-vagrant- |
216 | | -
|
217 | | - - name: install goodhosts |
218 | | - run: vagrant plugin install --local |
219 | | - |
220 | | - - name: vagrant up (current branch) |
221 | | - run: vagrant up |
222 | | - |
223 | | - - name: tests |
224 | | - run: provision/tests/macos-tests.sh |
225 | | - |
226 | | - - uses: actions/upload-artifact@v2 |
227 | | - if: ${{ always() }} |
228 | | - with: |
229 | | - name: logs-on-clean |
230 | | - path: "${{ github.workspace }}/log" |
0 commit comments