Skip to content

Commit

Permalink
fixup! WorkFlows: Pack and Send repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jaci-nordic committed Mar 20, 2024
1 parent ba8f991 commit f12b7b2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/zip-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
path: sdk-nrf
fetch-depth: 0
submodules: 'recursive'

Expand All @@ -27,17 +28,18 @@ jobs:
- name: Install West
run: pip install west

- name: West Update
- name: Initialize West
run: |
cd sdk-nrf
west init -l .
west update
- name: Zip repository
- name: West update
run: west update

- name: Create tar.gz
run: |
ls
cd ..
ls
tar --exclude "*.git*" --exclude "*" -czvf sdk-repository-${{ github.ref_name }}.tar.gz .
tar --exclude='.git' --exclude='*.tar.gz' -czvf sdk-repository-${{ github.ref_name }}.tar.gz .
- name: Upload to Artifactory
run: |
cd ..
Expand Down

0 comments on commit f12b7b2

Please sign in to comment.