build sourcetree #45
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
on: | |
release: | |
types: [created] | |
name: build sourcetree | |
jobs: | |
pack: | |
name: pack | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: install node v12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: build | |
run: | | |
cd plugins/sourcetree | |
yarn | |
tsc | |
- name: pack sourcetree | |
uses: mohuishou/utools/.github/action@master | |
id: sourcetree | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
dir: ./plugins/sourcetree | |
upload_url: ${{ github.event.release.upload_url }} |