-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (50 loc) · 1.7 KB
/
integration.yml
File metadata and controls
60 lines (50 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Integration Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- id: majortest
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.0.0"
- id: minortest
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.3.0"
- id: patchtest
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.2.4"
- id: alphatest1
uses: ibexa/version-logic-action@master
with:
currentTag: "v4.0.0-alpha1"
prevFullTag: "v3.3.9"
- id: betatest1
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.2.4-beta1"
- id: betatest2
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.2.4-beta2"
- id: rctest1
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.2.4-rc1"
- id: rctest2
uses: ibexa/version-logic-action@master
with:
currentTag: "v2.2.4-rc2"
- name: Check outputs
run: |
test "${{ steps.majortest.outputs.previousTag }}" == "v1.0.0"
test "${{ steps.minortest.outputs.previousTag }}" == "v2.2.0"
test "${{ steps.patchtest.outputs.previousTag }}" == "v2.2.3"
test "${{ steps.alphatest1.outputs.previousTag }}" == "v3.3.0"
test "${{ steps.betatest1.outputs.previousTag }}" == "v2.2.3"
test "${{ steps.betatest2.outputs.previousTag }}" == "v2.2.4-beta1"
test "${{ steps.rctest1.outputs.previousTag }}" == "v2.2.4-beta1"
test "${{ steps.rctest2.outputs.previousTag }}" == "v2.2.4-rc1"