Add TactilityFreeRtos to TactilitySDK (#441)

- TactlitySDK updates fro TactilityFreeRtos
- Enable auto-uploading of SDKs to the CDN when merging code
This commit is contained in:
Ken Van Hoeylandt
2026-01-03 16:28:07 +01:00
committed by GitHub
parent 7283920def
commit 524b197105
14 changed files with 261 additions and 80 deletions
@@ -6,10 +6,10 @@ runs:
- name: 'Download artifacts'
uses: actions/download-artifact@v4
with:
path: firmwares
path: artifacts
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: 'all-firmwares'
path: firmwares/
name: 'all-artifacts'
path: artifacts/
retention-days: 3
+5 -5
View File
@@ -8,17 +8,17 @@ inputs:
runs:
using: 'composite'
steps:
- name: 'Download all-firmwares'
- name: 'Download all-artifacts'
uses: actions/download-artifact@v4
with:
name: 'all-firmwares'
path: firmwares
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-files.py firmwares firmwares-cdn $version
run: version=`cat version.txt` && python Buildscripts/CDN/generate-firmware-files.py artifacts artifacts-cdn $version
- name: 'Upload files'
shell: bash
run: python Buildscripts/CDN/upload-files.py firmwares-cdn ${{ inputs.cdn_version }} ${{ env.CDN_ID }} ${{ env.CDN_TOKEN_NAME }} ${{ env.CDN_TOKEN_VALUE }}
run: python Buildscripts/CDN/upload-firmware-files.py artifacts-cdn ${{ inputs.cdn_version }} ${{ env.CDN_ID }} ${{ env.CDN_TOKEN_NAME }} ${{ env.CDN_TOKEN_VALUE }}
+19
View File
@@ -0,0 +1,19 @@
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 }}