File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1111env :
1212 Configuration : Release
1313 DSOALRepo : kcat/dsoal
14+ DSOALBranch : ${{github.ref_name}}
1415 OpenALSoftRepo : kcat/openal-soft
16+ OpenALSoftBranch : master
1517
1618permissions :
1719 contents : write
@@ -35,18 +37,16 @@ jobs:
3537
3638 - name : Clone DSOAL
3739 run : |
38- git clone https://github.com/${{env.DSOALRepo}}.git .
40+ git clone --branch ${{env.DSOALBranch}} https://github.com/${{env.DSOALRepo}}.git .
3941 git fetch --tags
4042 echo "DSOALCommitTag=$(git describe --tags)" >> $env:GITHUB_ENV
41- echo "DSOALBranch=$(git rev-parse --abbrev-ref HEAD)" >> $env:GITHUB_ENV
4243
4344 - name : Clone OpenAL Soft
4445 run : |
45- git clone https://github.com/${{env.OpenALSoftRepo}}.git
46+ git clone --branch ${{env.OpenALSoftBranch}} https://github.com/${{env.OpenALSoftRepo}}.git
4647 cd "openal-soft"
4748 git fetch --tags
4849 echo "OpenALSoftCommitTag=$(git describe --tags --abbrev=0 --match *.*.*)" >> $env:GITHUB_ENV
49- echo "OpenALSoftBranch=$(git rev-parse --abbrev-ref HEAD)" >> $env:GITHUB_ENV
5050 cd "${{github.workspace}}"
5151
5252 - name : Clone OpenAL Soft v${{env.OpenALSoftCommitTag}}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Untagged build
33on :
44 push :
55 branches :
6- - ' master '
6+ - ' * '
77 tags-ignore :
88 - ' *.*.*'
99 paths-ignore :
1515env :
1616 Configuration : Release
1717 DSOALRepo : kcat/dsoal
18+ DSOALBranch : ${{github.ref_name}}
1819 OpenALSoftRepo : kcat/openal-soft
20+ OpenALSoftBranch : master
1921
2022permissions :
2123 contents : write
@@ -39,13 +41,11 @@ jobs:
3941
4042 - name : Clone DSOAL
4143 run : |
42- git clone https://github.com/${{env.DSOALRepo}}.git .
43- echo "DSOALBranch=$(git rev-parse --abbrev-ref HEAD)" >> $env:GITHUB_ENV
44+ git clone --branch ${{env.DSOALBranch}} https://github.com/${{env.DSOALRepo}}.git .
4445
4546 - name : Clone OpenAL Soft
4647 run : |
47- git clone https://github.com/${{env.OpenALSoftRepo}}.git
48- echo "OpenALSoftBranch=$(git rev-parse --abbrev-ref HEAD)" >> $env:GITHUB_ENV
48+ git clone --branch ${{env.OpenALSoftBranch}} https://github.com/${{env.OpenALSoftRepo}}.git
4949
5050 - name : Get version details
5151 run : |
You can’t perform that action at this time.
0 commit comments