Skip to content

Commit b44e549

Browse files
authored
Merge pull request #184 from ACCESS-NRI/davide/fix_CD
Fix CD release
2 parents 08f034e + c65d8e1 commit b44e549

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/CD.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,19 @@ jobs:
7171
user: ${{ secrets.ANACONDA_USER_NAME }}
7272
token: ${{ secrets.ANACONDA_TOKEN }}
7373
label: main
74-
platform_all: true
75-
74+
75+
- name: Re-format output paths
76+
id: reformat-paths
77+
# Needed to have the correct newline-separated files format for the following release step
78+
run: |
79+
paths=$(tr ' ' '\n' <<< "${{steps.build-and-upload.outputs.paths}}")
80+
echo "newline-separated-paths=$paths" >> $GITHUB_OUTPUT
81+
7682
- name: Create Release
7783
uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 #v2.0.8
7884
with:
7985
tag_name: ${{ github.ref_name }}
8086
name: ${{needs.get-package-name.outputs.package-name}} ${{ github.ref_name }}
8187
generate_release_notes: true
8288
fail_on_unmatched_files: true
83-
files: ${{steps.build-and-upload.outputs.paths}}
89+
files: ${{steps.reformat-paths.outputs.newline-separated-paths}}

0 commit comments

Comments
 (0)