Skip to content

Commit 481d9b3

Browse files
Merge pull request #1051 from NordicSemiconductor/make_app_release_order_more_resilient
Reorder app release steps
2 parents 3e636c4 + cfb0682 commit 481d9b3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/release-app.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@ jobs:
3737
with:
3838
name: ${{ env.ARTIFACT_NAME }}
3939

40-
- name: Release app to ${{ inputs.source }}
41-
env:
42-
ARTIFACTORY_TOKEN:
43-
${{ secrets.COM_NORDICSEMI_FILES_PASSWORD_SWTOOLS_FRONTEND
44-
}}
45-
run: |
46-
tar xaf *.tgz
47-
cp *.tgz package
48-
cd package
49-
node dist/nordic-publish.js \
50-
--no-pack \
51-
--destination artifactory \
52-
--source '${{ inputs.source }}'
53-
5440
- name: Create release on GitHub
5541
if: inputs.source == 'official (external)'
5642
run: |
@@ -68,6 +54,20 @@ jobs:
6854
--notes-file release_notes.md \
6955
./*.tgz
7056
57+
- name: Release app to ${{ inputs.source }}
58+
env:
59+
ARTIFACTORY_TOKEN:
60+
${{ secrets.COM_NORDICSEMI_FILES_PASSWORD_SWTOOLS_FRONTEND
61+
}}
62+
run: |
63+
tar xaf *.tgz
64+
cp *.tgz package
65+
cd package
66+
node dist/nordic-publish.js \
67+
--no-pack \
68+
--destination artifactory \
69+
--source '${{ inputs.source }}'
70+
7171
check-if-docs-exist:
7272
needs: release
7373
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)