Releaser #50
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: Releaser | |
on: | |
push: | |
branches-ignore: | |
- '**' | |
tags: | |
- '*' | |
jobs: | |
build_explorer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build avail explorer via yarn | |
shell: bash | |
run: | | |
yarn install | |
yarn run build:www | |
pushd /home/runner/work/avail-apps/avail-apps/packages/apps/ | |
tar czf avail-explorer.tar.gz build/ | |
popd | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: avail-explorer | |
path: /home/runner/work/avail-apps/avail-apps/packages/apps/avail-explorer.tar.gz | |
# build_publish: | |
# needs: [build_explorer] | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/download-artifact@v2 | |
# with: | |
# name: avail-explorer | |
# - name: Prepare | |
# id: prepare | |
# run: | | |
# TAG=${GITHUB_REF#refs/tags/} | |
# echo ::set-output name=tag_name::${TAG} | |
# - name: publish builds | |
# uses: svenstaro/upload-release-action@v2 | |
# with: | |
# repo_token: ${{ secrets.PAT_TOKEN }} | |
# file: /home/runner/work/avail-apps/avail-apps/avail-explorer* | |
# release_name: ${{ steps.prepare.outputs.tag_name }} | |
# tag: ${{ steps.prepare.outputs.tag_name }} | |
# overwrite: true | |
# file_glob: true |