Skip to content

1.0.13-dev.2

1.0.13-dev.2 #134

Workflow file for this run

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 }}