Skip to content

Commit 14e06cc

Browse files
committed
Centrally define SFML version
1 parent a185b44 commit 14e06cc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ concurrency:
66
group: environment-${{github.ref}}
77
cancel-in-progress: true
88

9+
env:
10+
SFML_VERSION: 3.0.0
11+
912
defaults:
1013
run:
1114
shell: bash
@@ -49,7 +52,7 @@ jobs:
4952
uses: actions/checkout@v4
5053
with:
5154
repository: SFML/SFML
52-
ref: master
55+
ref: ${{env.SFML_VERSION}}
5356
path: SFML
5457

5558
- name: Configure SFML CMake
@@ -104,7 +107,7 @@ jobs:
104107
uses: actions/checkout@v4
105108
with:
106109
repository: SFML/SFML
107-
ref: 3.0.0
110+
ref: ${{env.SFML_VERSION}}
108111
path: SFML
109112

110113
- name: Configure SFML CMake
@@ -138,7 +141,7 @@ jobs:
138141
uses: actions/checkout@v4
139142
with:
140143
repository: SFML/SFML
141-
ref: master
144+
ref: ${{env.SFML_VERSION}}
142145
path: SFML
143146

144147
- name: Configure SFML

0 commit comments

Comments
 (0)