diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2683ef56..c02290055 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: jobs: build: - name: Test + name: Test and Deploy runs-on: ubuntu-latest steps: - name: Checkout @@ -25,4 +25,15 @@ jobs: yarn install yarn lint yarn build - xvfb-run --auto-servernum yarn test:ci \ No newline at end of file + xvfb-run --auto-servernum yarn test:ci + + - name: Build electron app + run: | + yarn deploy:electron + mv dist/cockpit*.AppImage dist/cockpit.AppImage + + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: cockpit + path: dist/cockpit*.AppImage \ No newline at end of file