Skip to content

feat(pdfhandler) : simplify interface for client side rendering #193

feat(pdfhandler) : simplify interface for client side rendering

feat(pdfhandler) : simplify interface for client side rendering #193

Workflow file for this run

name: Release
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- published
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test and package the extension
id: release
uses: yeswiki/[email protected]
- name: Assess md5 and archive name
run: |
echo "${{ steps.release.outputs.archive-name }} md5sum is ${{ steps.release.outputs.md5sum }}"
- name: Upload zip file
uses: actions/upload-release-asset@v1
if: ${{ github.event_name == 'release' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/${{ steps.release.outputs.archive-name }}
asset_name: ${{ steps.release.outputs.archive-name }}
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload md5 file
uses: actions/upload-release-asset@v1
if: ${{ github.event_name == 'release' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/${{ steps.release.outputs.archive-name }}.md5
asset_name: ${{ steps.release.outputs.archive-name }}.md5
asset_content_type: text/plain
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}