diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ea1dff32a8..4c92f0ed5af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,13 +21,13 @@ jobs: fail-fast: false matrix: node: [14.x] - os: [macos-10.15, windows-2019, ubuntu-20.04] + os: [macos-10.15, windows-2019, ubuntu-18.04] include: - os: macos-10.15 friendlyName: macOS - os: windows-2019 friendlyName: Windows - - os: ubuntu-20.04 + - os: ubuntu-18.04 friendlyName: Ubuntu timeout-minutes: 45 steps: @@ -69,3 +69,21 @@ jobs: - name: Run integration tests timeout-minutes: 5 run: yarn test:integration + - name: Package application + run: yarn run package + if: ${{ matrix.os == 'ubuntu-18.04' }} + - name: Create Release + uses: softprops/action-gh-release@v1 + if: + ${{ matrix.os == 'ubuntu-18.04' && startsWith(github.ref, + 'refs/tags/') }} + with: + files: | + dist/*.AppImage + dist/*.deb + dist/*.rpm + dist/*.txt + draft: true + prerelease: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}