Skip to content

Commit 6f664a1

Browse files
christianrauchchristian-rauch
authored andcommitted
use 'softprops/action-gh-release' as release action
The GitHub action 'softprops/action-gh-release' allows better control over the uploaded file references than 'ncipollo/release-action'.
1 parent fc3025a commit 6f664a1

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ jobs:
6060
cmake -B build -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.config.build }} -DCMAKE_PREFIX_PATH="${{ env.QTC_PATH }};${{ env.QT_PATH }}" -DBUILD_ROSTERMINAL=OFF
6161
cmake --build build --target package
6262
63+
- name: upload plugin spec
64+
if: ${{ matrix.config.name == 'Linux' }}
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: plugin_archive_artifact_spec
68+
if-no-files-found: error
69+
path: |
70+
./build/src/project_manager/ROSProjectManager.json
71+
6372
- name: upload artifact
6473
uses: actions/upload-artifact@v4
6574
with:
@@ -105,7 +114,17 @@ jobs:
105114
path: ./
106115

107116
- name: create release
108-
uses: ncipollo/release-action@v1
117+
id: release
118+
uses: softprops/action-gh-release@v2
109119
with:
110-
artifacts: qtcreator-opensource-linux-*-*.deb,qtcreator-plugin-ros-*-*-*.zip,qtcreator-plugin-ros_*_*.deb,qtcreator-plugin-ros-dbgsym_*_*.ddeb
111-
artifactErrorsFailBuild: true
120+
files: |
121+
qtcreator-opensource-linux-*-*.deb
122+
qtcreator-plugin-ros_*_*.deb
123+
qtcreator-plugin-ros-dbgsym_*_*.ddeb
124+
qtcreator-plugin-ros-*-Linux-x86_64.zip
125+
qtcreator-plugin-ros-*-Linux-aarch64.zip
126+
qtcreator-plugin-ros-*-Darwin-arm64.zip
127+
qtcreator-plugin-ros-*-Windows-AMD64.zip
128+
qtcreator-plugin-ros-*-Windows-ARM64.zip
129+
fail_on_unmatched_files: true
130+
generate_release_notes: true

0 commit comments

Comments
 (0)