File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 11name : compatibility-tests
22
33on :
4- push :
5- tags :
6- - ' *'
74 workflow_dispatch :
5+ repository_dispatch :
6+ types : [compatibility-tests]
87
98jobs :
109 test-compatibility :
5655 PREVIOUS_VERSION="0.5.30"
5756 fi
5857
58+ echo "Current version is $NEW_VERSION"
59+ echo "Will be tested for compatibility from $PREVIOUS_VERSION"
60+
5961 echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
6062 echo "PREVIOUS_VERSION=$PREVIOUS_VERSION" >> $GITHUB_ENV
6163
Original file line number Diff line number Diff line change 1+ name : tmp
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : write
8+
9+ jobs :
10+ tag-and-release :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : dispatch-compatibility-tests
16+ uses : peter-evans/repository-dispatch@v3
17+ with :
18+ event-type : compatibility-tests
Original file line number Diff line number Diff line change @@ -131,3 +131,8 @@ jobs:
131131 tag_name : ${{ env.VERSION }}
132132 env :
133133 GITHUB_TOKEN : ${{ github.token }}
134+
135+ - name : dispatch-compatibility-tests
136+ uses : peter-evans/repository-dispatch@v3
137+ with :
138+ event-type : compatibility-tests
You can’t perform that action at this time.
0 commit comments