Skip to content

Commit

Permalink
upload doc/examples first, as they get deleted by the module upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Skycoder42 committed Jul 5, 2020
1 parent d3d3d72 commit d08486d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@ jobs:
run: |
${{steps.qt.outputs.make}} doxygen
cd doc && ${{steps.qt.outputs.make}} INSTALL_ROOT="${{steps.qt.outputs.installdir}}" install
- name: upload module to releases
uses: Skycoder42/action-upload-release@master
if: startsWith(github.ref, 'refs/tags/')
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
directory: ${{steps.qt.outputs.outdir}}
platform: ${{matrix.platform}}
asset_name: qtservice-${{matrix.platform}}-${{matrix.version}}
tag: ${{github.ref}}
overwrite: true
- name: upload examples to releases
uses: Skycoder42/action-upload-release@master
if: matrix.platform == 'gcc_64' && startsWith(github.ref, 'refs/tags/')
Expand All @@ -136,6 +126,16 @@ jobs:
asset_name: qtservice-doc-${{matrix.version}}
tag: ${{github.ref}}
overwrite: true
- name: upload module to releases
uses: Skycoder42/action-upload-release@master
if: startsWith(github.ref, 'refs/tags/')
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
directory: ${{steps.qt.outputs.outdir}}
platform: ${{matrix.platform}}
asset_name: qtservice-${{matrix.platform}}-${{matrix.version}}
tag: ${{github.ref}}
overwrite: true

deploy:
if: startsWith(github.ref, 'refs/tags/')
Expand Down
1 change: 1 addition & 0 deletions qtservice.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ QMAKE_EXTRA_TARGETS += lupdate

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

0 comments on commit d08486d

Please sign in to comment.