File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,24 @@ jobs:
52
52
run : |
53
53
make run
54
54
55
+ - name : Fetch latest CloudStack release tag
56
+ id : csrel
57
+ run : |
58
+ TAG=$(curl -s https://api.github.com/repos/apache/cloudstack/releases/latest | jq -r .tag_name)
59
+ echo "tag=$TAG" >> $GITHUB_OUTPUT
60
+ echo "Latest CloudStack tag: $TAG"
61
+
62
+ - name : Clone CloudStack at latest release
63
+ run : |
64
+ git clone --depth=1 --branch "${{ steps.csrel.outputs.tag }}" https://github.com/apache/cloudstack.git
65
+
55
66
- name : Set up JDK 11 + Maven cache
56
67
uses : actions/setup-java@v4
57
68
with :
58
69
java-version : ' 11'
59
70
distribution : ' temurin'
60
71
cache : maven
72
+ cache-dependency-path : cloudstack/pom.xml
61
73
62
74
- name : Set up Python 3.10
63
75
uses : actions/setup-python@v5
84
96
sudo systemctl restart mysql
85
97
sudo mysql -uroot -e "SELECT VERSION();"
86
98
87
- - name : Fetch latest CloudStack release tag
88
- id : csrel
89
- run : |
90
- TAG=$(curl -s https://api.github.com/repos/apache/cloudstack/releases/latest | jq -r .tag_name)
91
- echo "tag=$TAG" >> $GITHUB_OUTPUT
92
- echo "Latest CloudStack tag: $TAG"
93
-
94
- - name : Clone CloudStack at latest release
95
- run : |
96
- git clone --depth=1 --branch "${{ steps.csrel.outputs.tag }}" https://github.com/apache/cloudstack.git
97
-
98
99
- name : Build CloudStack (simulator)
99
100
working-directory : cloudstack
100
101
run : |
You can’t perform that action at this time.
0 commit comments