Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Fix action error (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenny Li authored Jan 13, 2022
1 parent d398a61 commit ef83acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Release Build

# [TODO] Running action on ubuntu , it will generate the files under share & lib/pkgconfig that are not needed, so remove them manually.
# Need to figure out why they exists after build.
# This workflow is triggered on pushes or pull request to the repository.
on:
workflow_dispatch:
Expand Down Expand Up @@ -32,8 +34,6 @@ jobs:
run: |
./build.sh -t Release -p tmp
mkdir -p artifacts && mv cmake_build/tmp artifacts/${{ env.ARTIFACT_NAME }}
# Running action on ubuntu , it will generate the files under share & lib/pkgconfig that are not needed, so remove them manually.
# Need to figure out why they exists after build.
rm -rf artifacts/${{ env.ARTIFACT_NAME }}/share
rm -rf artifacts/${{ env.ARTIFACT_NAME }}/lib/pkgconfig
cd artifacts && tar -zcvf ${{ env.ARTIFACT_NAME }}.tar.gz ${{ env.ARTIFACT_NAME }}/
Expand Down

0 comments on commit ef83acf

Please sign in to comment.