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 21, 2024
1 parent e9d4978 commit bc61a76
Showing 1 changed file with 15 additions and 30 deletions.
45 changes: 15 additions & 30 deletions .github/workflows/zip-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,20 @@ jobs:
uses: nordicbuilder/action-checkout-west-update@main
with:
git-fetch-depth: 0
# west-update-args: '-l .'
path: nrf
# - name: Checkout repository
# uses: actions/checkout@v2
# with:
# path: nrf
# fetch-depth: 0
# submodules: 'recursive'
-name :Debug
run: |
ls
pwd
# - name: Create tar.gz
# run: >
# cd .. && tar --exclude="*.tar.gz" -czf
# sdk-repository-${{ github.ref_name }}.tar.gz nrf

# - name: Install West
# run: pip install west

# - name: Initialize West
# run: |
# cd nrf
# west init -l .

# - name: West update
# run: west update

- name: Create tar.gz
run: >
cd .. && tar --exclude="*.tar.gz" -czf
sdk-repository-${{ github.ref_name }}.tar.gz nrf
- name: Upload to Artifactory
env:
URL: https://eu.files.nordicsemi.com/artifactory/ncs-src-mirror
run: >
cd .. && curl -u ${{ secrets.COM_NORDICSEMI_FILES_BURAN_CI }}
-T sdk-repository-${{ github.ref_name }}.tar.gz
${URL}/${{ github.ref_name }}/sdk-nrf-source.tar.gz
# - name: Upload to Artifactory
# env:
# URL: https://eu.files.nordicsemi.com/artifactory/ncs-src-mirror
# run: >
# cd .. && curl -u ${{ secrets.COM_NORDICSEMI_FILES_BURAN_CI }}
# -T sdk-repository-${{ github.ref_name }}.tar.gz
# ${URL}/${{ github.ref_name }}/sdk-nrf-source.tar.gz

0 comments on commit bc61a76

Please sign in to comment.