Skip to content

Commit

Permalink
Merge pull request #26 from HyperInspire/feature/ci
Browse files Browse the repository at this point in the history
Auto-Build Actions
  • Loading branch information
tunmx authored May 6, 2024
2 parents 5ee6193 + 881dfba commit 602bbd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/built_release_from_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
id: extract_version
run: echo "VERSION=$(echo ${GITHUB_REF#refs/tags/} | sed 's/^v//')" >> $GITHUB_ENV

# Step 4: Rename directories with the extracted version number
# Step 4: Build projects using Docker Compose
- name: Build SDKs with Docker Compose
run: docker-compose up

# Step 5: Rename directories with the extracted version number
- name: Rename SDK Directories with Version
run: |
mv build/inspireface-linux-armv7-armhf build/inspireface-linux-armv7-armhf-${{ env.VERSION }}
mv build/inspireface-linux-armv7-rv1109rv1126-armhf build/inspireface-linux-armv7-rv1109rv1126-armhf-${{ env.VERSION }}
mv build/inspireface-linux-ubuntu18 build/inspireface-linux-ubuntu18-${{ env.VERSION }}
# Step 5: Build projects using Docker Compose
- name: Build SDKs with Docker Compose
run: docker-compose up

# Step 6: Zip each SDK directory with the version number
- name: Zip SDK Files
run: |
Expand Down

0 comments on commit 602bbd1

Please sign in to comment.