Skip to content

Commit d08486d

Browse files
committed
upload doc/examples first, as they get deleted by the module upload
1 parent d3d3d72 commit d08486d

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,6 @@ jobs:
106106
run: |
107107
${{steps.qt.outputs.make}} doxygen
108108
cd doc && ${{steps.qt.outputs.make}} INSTALL_ROOT="${{steps.qt.outputs.installdir}}" install
109-
- name: upload module to releases
110-
uses: Skycoder42/action-upload-release@master
111-
if: startsWith(github.ref, 'refs/tags/')
112-
with:
113-
repo_token: ${{secrets.GITHUB_TOKEN}}
114-
directory: ${{steps.qt.outputs.outdir}}
115-
platform: ${{matrix.platform}}
116-
asset_name: qtservice-${{matrix.platform}}-${{matrix.version}}
117-
tag: ${{github.ref}}
118-
overwrite: true
119109
- name: upload examples to releases
120110
uses: Skycoder42/action-upload-release@master
121111
if: matrix.platform == 'gcc_64' && startsWith(github.ref, 'refs/tags/')
@@ -136,6 +126,16 @@ jobs:
136126
asset_name: qtservice-doc-${{matrix.version}}
137127
tag: ${{github.ref}}
138128
overwrite: true
129+
- name: upload module to releases
130+
uses: Skycoder42/action-upload-release@master
131+
if: startsWith(github.ref, 'refs/tags/')
132+
with:
133+
repo_token: ${{secrets.GITHUB_TOKEN}}
134+
directory: ${{steps.qt.outputs.outdir}}
135+
platform: ${{matrix.platform}}
136+
asset_name: qtservice-${{matrix.platform}}-${{matrix.version}}
137+
tag: ${{github.ref}}
138+
overwrite: true
139139

140140
deploy:
141141
if: startsWith(github.ref, 'refs/tags/')

qtservice.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ QMAKE_EXTRA_TARGETS += lupdate
2222

2323
DISTFILES += .qmake.conf \
2424
sync.profile \
25+
.github/workflows/build.yml \
2526
ProjectTemplate/*

0 commit comments

Comments
 (0)