Skip to content

update unread pattern #28

update unread pattern

update unread pattern #28

Workflow file for this run

name: Build and test
on:
pull_request:
push:
branches:
- 'master'
- 'develop'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cardinalby/export-env-action@v1
with:
envFile: './.github/workflows/constants.env'
expand: true
- name: Build, test and pack to zip
id: build
uses: ./.github/workflows/actions/build-test-pack
with:
# pack zip only for pull requests or workflow_dispatch events
doNotPackZip: ${{ github.event_name == 'push' && 'true' || 'false'}}
- name: Upload zip file artifact
if: github.event_name != 'push'
uses: actions/upload-artifact@v2
with:
name: ${{ env.ZIP_FILE_NAME }}
path: ${{ env.ZIP_FILE_PATH }}