Skip to content

Commit

Permalink
Centrally define SFML version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Dec 22, 2024
1 parent a185b44 commit 14e06cc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ concurrency:
group: environment-${{github.ref}}
cancel-in-progress: true

env:
SFML_VERSION: 3.0.0

defaults:
run:
shell: bash
Expand Down Expand Up @@ -49,7 +52,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: SFML/SFML
ref: master
ref: ${{env.SFML_VERSION}}
path: SFML

- name: Configure SFML CMake
Expand Down Expand Up @@ -104,7 +107,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: SFML/SFML
ref: 3.0.0
ref: ${{env.SFML_VERSION}}
path: SFML

- name: Configure SFML CMake
Expand Down Expand Up @@ -138,7 +141,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: SFML/SFML
ref: master
ref: ${{env.SFML_VERSION}}
path: SFML

- name: Configure SFML
Expand Down

0 comments on commit 14e06cc

Please sign in to comment.