Test Auto build #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release SDKs | |
# Trigger the workflow when pushing tags that match the pattern "v*" | |
#on: | |
# push: | |
# tags: | |
# - "v*" | |
on: | |
push: | |
branches: ["feature/aarch64"] | |
# Set the global GitHub token environment variable | |
env: | |
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | |
jobs: | |
release: | |
name: Release SDKs to GitHub | |
# needs: build | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the repository again | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
# Step 2: Download the previously uploaded SDK files | |
- name: Download SDK Artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: sdk_files | |
# Step 3: Extract the version number from the tag (e.g., "v1.2.3" becomes "1.2.3") | |
- name: Extract Version Number | |
id: extract_version | |
run: echo "VERSION=$(echo ${GITHUB_REF#refs/tags/} | sed 's/^v//')" >> $GITHUB_ENV | |
- name: TT | |
run: ls |