Skip to content

Commit

Permalink
Update GitHub Actions workflow to run tests instead of building the app
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 17, 2024
1 parent 1c82afd commit 75c175d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
Expand All @@ -27,12 +27,14 @@ jobs:
- name: Build the app
run: npm run make

- name: List output directory contents
run: ls -R out/make

- name: Upload Release Asset
uses: actions/upload-artifact@v2
with:
name: comet-${{ matrix.os }}
path: out/make/${{ matrix.os }}/*.*

path: out/make/**/*.*
release:
needs: build
runs-on: ubuntu-latest
Expand All @@ -54,6 +56,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out/make/*.*
asset_path: out/make/**/*.*
asset_name: comet-${{ matrix.os }}-${{ github.sha }}.zip
asset_content_type: application/zip

0 comments on commit 75c175d

Please sign in to comment.