Skip to content

Commit

Permalink
Merge pull request #49 from move4mobile/develop
Browse files Browse the repository at this point in the history
Update master
  • Loading branch information
mschilling authored Feb 17, 2020
2 parents 66478fd + f7a43c5 commit 9e09417
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,24 @@ jobs:
uses: actions/checkout@master
with:
fetch-depth: '0'
# - name: Build project
# run: |
# zip --junk-paths docs JOURNAL.md ./examples/*

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: npm build
run: |
npm ci
npm run build --if-present
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI: true

- name: Build project zip
run: |
zip -r dist ./dist/*
- name: Bump version and push tag
id: tag_release
uses: anothrNick/[email protected]
Expand All @@ -34,13 +49,13 @@ jobs:
draft: false
prerelease: false

# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./docs.zip
# asset_name: docs.zip
# asset_content_type: application/zip
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist.zip
asset_name: dist.zip
asset_content_type: application/zip

0 comments on commit 9e09417

Please sign in to comment.