Skip to content

Commit

Permalink
Create license tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Dec 25, 2020
1 parent 01e75c1 commit c747892
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,20 @@ jobs:
asset_path: tfrog-motordriver/bin/${{ env.RELEASE_FILENAME_R6 }}
asset_name: ${{ env.RELEASE_FILENAME_R6 }}
asset_content_type: application/octet-stream

- name: Create license tarball
run: |
mkdir -p licenses/tf-2md3-firmware/at91lib
cp LICENSE licenses/tf-2md3-firmware/
cp LICENSE.at91lib licenses/tf-2md3-firmware/at91lib/
tar czf licenses.tar.gz licenses
- name: Upload license tarball
uses: actions/upload-release-asset@v1
if: github.event_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./licenses.tar.gz
asset_name: licenses.tar.gz
asset_content_type: application/gzip

0 comments on commit c747892

Please sign in to comment.