Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Readd CPP_SDK_URL variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Audykowicz committed Aug 29, 2023
1 parent f083310 commit 1d88621
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/actions/download_cppsdk/bash/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'CppSDKReleaseAssetDownloader'
description: 'Download specific C++ SDK release asset.'
inputs:
url:
description: 'C++ SDK release URL.'
required: true
tag:
description: 'Release tag of C++ SDK release.'
required: true
Expand All @@ -12,7 +15,7 @@ runs:
steps:
- name: Download C++ MacOS
run: |
export INPUT_URL="https://github.com/DolbyIO/comms-sdk-cpp/releases/download"
export INPUT_URL=${{ inputs.url }}
export INPUT_TAG=${{ inputs.tag }}
export INPUT_ASSET_NAME=cppsdk-${{ inputs.tag }}-${{ inputs.asset_suffix }}
./.github/actions/download_cppsdk/bash/download_cppsdk.sh
Expand Down
5 changes: 4 additions & 1 deletion .github/actions/download_cppsdk/powershell/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'CppSDKReleaseAssetDownloader'
description: 'Download specific C++ SDK release asset.'
inputs:
url:
description: 'C++ SDK release URL.'
required: true
tag:
description: 'Release tag of C++ SDK release.'
required: true
Expand All @@ -12,7 +15,7 @@ runs:
steps:
- name: Download C++ Windows
run: |
$Env:INPUT_URL = "https://github.com/DolbyIO/comms-sdk-cpp/releases/download"
$Env:INPUT_URL = "${{ inputs.url }}"
$Env:INPUT_TAG = "${{ inputs.tag }}"
$Env:INPUT_ASSET_NAME = "cppsdk-${{ inputs.tag }}-${{ inputs.asset_suffix }}"
./.github/actions/download_cppsdk/powershell/download_cppsdk.ps1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
env:
PLUGIN_VERSION: "1.2.0-beta.9"
CPP_SDK_VERSION: "2.6.0"
CPP_SDK_URL: "https://github.com/DolbyIO/comms-sdk-cpp/releases/download"
PLUGIN_SOURCE_DIR: "DolbyIO"
PLUGIN_BUILD_DIR: "Build/DolbyIO"
GH_TOKEN: ${{ github.token }}
Expand All @@ -34,6 +35,7 @@ jobs:
- name: Download C++ SDK
uses: ./.github/actions/download_cppsdk/powershell
with:
url: ${{ env.CPP_SDK_URL }}
tag: ${{ env.CPP_SDK_VERSION }}
asset_suffix: "${{ env.BUILD_PLATFORM }}64.zip"

Expand Down

0 comments on commit 1d88621

Please sign in to comment.