Skip to content

Commit

Permalink
[Action] Release daily build result
Browse files Browse the repository at this point in the history
 - Release ubuntu daily build result

Signed-off-by: gichan2-jang <[email protected]>
  • Loading branch information
gichan-jang committed Aug 2, 2024
1 parent 3c9a373 commit 27a50dd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/update_pbuilder_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: run pdebuild
run: |
pdebuild --architecture ${{ matrix.arch }} -- --distribution ${{ matrix.distroname }}
pdebuild --buildresult ~/daily_build/ubuntu --architecture ${{ matrix.arch }} -- --distribution ${{ matrix.distroname }}
- name: save pbuilder cache
uses: actions/cache/save@v4
Expand All @@ -70,3 +70,11 @@ jobs:
/var/cache/pbuilder/aptcache
/var/cache/pbuilder/base.tgz
key: pbuilder-cache-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles('**/debian/control') }}-${{ steps.get-date.outputs.date }}

- name: Release daily build result
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
AWS_EC2_METADATA_DISABLED: true
run: |
aws s3 cp --recursive --region ap-northeast-2 ~/daily_build/ubuntu/ s3://nnstreamer-release/${{ steps.get-date.outputs.date }}/ubuntu/

0 comments on commit 27a50dd

Please sign in to comment.