File tree Expand file tree Collapse file tree 2 files changed +7
-78
lines changed
Expand file tree Collapse file tree 2 files changed +7
-78
lines changed Original file line number Diff line number Diff line change 77 name : Build and Test
88 runs-on : ubuntu-latest
99 outputs :
10- ksp-version : ${{ env.KSP_VERSION }}
10+ ksp-version : ${{ steps.set-ksp-version.outputs.ksp-version }}
1111 release-package-name : ${{ steps.set-release-package-name.outputs.release-package-name }}
1212 release-changelog : ${{ steps.extract-single-changelog.outputs.changelog-single }}
1313 steps :
1414 - name : Checkout code
1515 uses : actions/checkout@v2
1616 with :
1717 fetch-depth : 100
18+ - name : Fetch master
19+ run : git fetch --depth=100 origin master
1820 - name : Fetch tags
1921 run : git fetch --depth=1 --tags origin
2022 - name : Describe current revision with tags
@@ -32,15 +34,16 @@ jobs:
3234 - name : Install NuGet packages
3335 run : nuget restore
3436 - name : Set KSP Version
37+ id : set-ksp-version
3538 run : |
3639 KSP_VERSION="$(cat ./KSP_VERSION)"
3740 echo "KSP Version: ${KSP_VERSION}"
38- echo "::set-env name=KSP_VERSION ::${KSP_VERSION}"
41+ echo "::set-output name=ksp-version ::${KSP_VERSION}"
3942 - name : Download KSP DLLs
4043 id : download-ksp-dlls
4144 run : |
42- aws --no-sign-request s3 cp s3://blowfish-ksp-dlls/ksp-${{ env.KSP_VERSION }}.zip '/tmp/KSP_DLLs.zip'
43- KSP_DLL_PATH="/opt/ksp/assembly/${KSP_VERSION }"
45+ aws --no-sign-request s3 cp s3://blowfish-ksp-dlls/ksp-${{ steps.set-ksp-version.outputs.ksp-version }}.zip '/tmp/KSP_DLLs.zip'
46+ KSP_DLL_PATH="/opt/ksp/assembly/${{ steps.set-ksp-version.outputs.ksp-version } }"
4447 echo "::set-output name=ksp-dll-path::${KSP_DLL_PATH}"
4548 mkdir -p "${KSP_DLL_PATH}"
4649 unzip '/tmp/KSP_DLLs.zip' -d "${KSP_DLL_PATH}"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments