From d08486d4b11a1a94665681c90ffd01a4ee72ef6d Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Sun, 5 Jul 2020 12:16:01 +0200 Subject: [PATCH] upload doc/examples first, as they get deleted by the module upload --- .github/workflows/build.yml | 20 ++++++++++---------- qtservice.pro | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16fef06..284c4dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/') @@ -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/') diff --git a/qtservice.pro b/qtservice.pro index d3befe5..ee52755 100644 --- a/qtservice.pro +++ b/qtservice.pro @@ -22,4 +22,5 @@ QMAKE_EXTRA_TARGETS += lupdate DISTFILES += .qmake.conf \ sync.profile \ + .github/workflows/build.yml \ ProjectTemplate/*