Alghoritims 0 d #247
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release-action | |
# Run on pull requests and on the master branch itself. | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
build_upload: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the code. | |
- uses: actions/checkout@v2 | |
- name: build | |
run: | | |
docker-compose build schema | |
docker-compose run schema make test | |
docker-compose run schema make zip | |
- name: Publish package | |
if: startsWith(github.event.ref, 'refs/tags') | |
run: bash upload-artifact.sh | |
env: | |
ARTIFACTS_KEY: ${{ secrets.ARTIFACTS_KEY }} | |