Skip to content

Commit

Permalink
Tar the executable
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Sep 22, 2023
1 parent 8702ced commit 76cc3b6
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,17 @@ jobs:
# Execute tests defined by the CMake configuration
run: ctest --build-config ${{ matrix.build_type }}

# Download the built artifacts
- name: Download Artifacts
# Add execution permission to the binary and tar it
- name: Package
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: |
chmod +x src/privacyShield
tar -czvf privacyShield.tar.gz src/privacyShield
# Upload the built artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-${{ matrix.build_type }}
path: ${{ steps.strings.outputs.build-output-dir }}
name: "${{ matrix.os }}-${{ matrix.build_type }}.tar.gz"
path: "${{ steps.strings.outputs.build-output-dir }}/privacyShield.tar.gz"

0 comments on commit 76cc3b6

Please sign in to comment.