1.0.13-dev.3 #135
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 | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check source code | |
uses: actions/checkout@v3 | |
- name: Check submodule code | |
uses: actions/checkout@v3 | |
with: | |
repository: hashgreen/hoogii-wallet-configs | |
submodules: recursive | |
ssh-key: ${{ secrets.SSH_KEY }} | |
path: hoogii-wallet-configs | |
- name: Copy .env file | |
run: | | |
git submodule init | |
git submodule update --init --recursive | |
cp hoogii-wallet-configs/hoogii.env .env | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install dependencies | |
run: | | |
yarn install | |
- name: Set up git | |
run: | | |
git config user.name "GitHub Actions Bot" | |
git config user.email "Devops <[email protected]>" | |
- name: Package | |
run: | | |
ls -al | |
make package | |
- name: Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "release_*.zip" | |
token: ${{ secrets.GITHUB_TOKEN }} |