Skip to content

Commit 4c3a46b

Browse files
author
Johan Brichau
committed
Merge 3e21012
2 parents 20fa768 + 3e21012 commit 4c3a46b

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,12 @@ jobs:
1818
continue-on-error: ${{ matrix.experimental }}
1919
name: ${{ matrix.smalltalk }}
2020
steps:
21-
- name: Get current date
22-
id: date
23-
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
24-
- name: Log date
25-
run: echo "${{ steps.date.outputs.date }}"
26-
- name: Set default run status
27-
run: echo "::set-output name=last_run_status::default" > last_run_status
28-
- name: Restore last run status
29-
id: last_run
30-
uses: actions/cache@v2
31-
with:
32-
path: |
33-
last_run_status
34-
key: ${{ github.run_id }}-${{ matrix.smalltalk }}-${{ steps.date.outputs.date }}
35-
restore-keys: |
36-
${{ github.run_id }}-${{ matrix.smalltalk }}-
37-
- name: Set last run status
38-
id: last_run_status
39-
run: cat last_run_status
40-
- uses: actions/checkout@v2
41-
with:
42-
ref: ${{ github.event.workflow_dispatch.ref }}
21+
- uses: actions/checkout@v3
4322
- uses: hpi-swa/setup-smalltalkCI@v1
4423
with:
4524
smalltalk-image: ${{ matrix.smalltalk }}
4625
- name: Run tests
4726
id: test_run
48-
if: steps.last_run_status.outputs.last_run_status != 'success'
4927
run: smalltalkci -s ${{ matrix.smalltalk }}
5028
shell: bash
51-
timeout-minutes: 20
52-
- name: Save run status
53-
if: steps.last_run_status.outputs.last_run_status != 'success'
54-
run: echo "::set-output name=last_run_status::${{ steps.test_run.outcome }}" > last_run_status
29+
timeout-minutes: 20

0 commit comments

Comments
 (0)