File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deb Canary
2+
3+ on :
4+ # This workflow will run from the release-automation.yaml automation on each merge
5+ workflow_dispatch :
6+ inputs :
7+ ref_name :
8+ required : true
9+ type : string
10+ workflow_call :
11+ inputs :
12+ ref_name :
13+ required : true
14+ type : string
15+
16+ # This workflow will run every 5 min
17+ schedule :
18+ - cron : ' */5 * * * *'
19+
20+ jobs :
21+ canary-deb :
22+ # define all different arch's our supported CodeBuild fleets can run on
23+ runs-on : ubuntu-latest
24+ timeout-minutes : 3
25+ steps :
26+ - name : Clean ubuntu runner workspace
27+ run : |
28+ rm -rf ${{ github.workspace }}/*
29+ - name : Install Finch with APT
30+ run : |
31+ sudo apt install runfinch-finch -y
32+ - name : Verify version
33+ run : |
34+ version=$(finch -v)
35+ if [[ $version == "finch version ${{inputs.ref_name}}" ]]; then
36+ echo "Version matches: $version"
37+ else
38+ echo "Version mismatch. Found: $version, Expected: ${{inputs.ref_name}}"
39+ exit 1
40+ fi
41+ - name : Clean up environment
42+ run : |
43+ sudo apt remove runfinch-finch -y
You can’t perform that action at this time.
0 commit comments