Skip to content

Commit

Permalink
update workflow to make a build.zip artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
matan-h committed Oct 26, 2023
1 parent ee219e5 commit be747ba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Build
- name: Install dependencies
run: |
CI=false yarn install
- name: Build
run: |
CI=false yarn build
- name: Zip build
run: |
zip -r build.zip build/
- name: Create Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: 'the first working artifacts release' # TODO: changelog, and build only on tag
body: 'the first working with build.zip artifact' # TODO: changelog, and build only on tag
draft: false
prerelease: false
artifacts: "build/*"
artifacts: "build.zip"

0 comments on commit be747ba

Please sign in to comment.