mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
- TactlitySDK updates fro TactilityFreeRtos - Enable auto-uploading of SDKs to the CDN when merging code
19 lines
662 B
YAML
19 lines
662 B
YAML
name: Publish SDK
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: 'Download all-artifacts'
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: 'all-artifacts'
|
|
path: artifacts
|
|
- name: 'Install boto3'
|
|
shell: bash
|
|
run: pip install boto3
|
|
- name: 'Generate files'
|
|
shell: bash
|
|
run: version=`cat version.txt` && python Buildscripts/CDN/generate-sdk-files.py artifacts artifacts-cdn $version
|
|
- name: 'Upload files'
|
|
shell: bash
|
|
run: version=`cat version.txt` && python Buildscripts/CDN/upload-sdk-files.py artifacts-cdn $version ${{ env.CDN_ID }} ${{ env.CDN_TOKEN_NAME }} ${{ env.CDN_TOKEN_VALUE }} |