fix: correct state setter for atm #18
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: Tagged Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
create-tagged-release: | |
name: 'Build & Create Release' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.ref }} | |
- name: Setup Node and Yarn Cache | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
- name: Get variables | |
id: get_vars | |
run: | | |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV | |
echo "::set-output name=SHORT_SHA::$(git rev-parse --short HEAD)" | |
echo "::set-output name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/})" | |
echo "::set-output name=VERSION_TAG::$(echo ${GITHUB_REF/refs\/tags\//})" | |
- name: Install main deps | |
run: yarn --frozen-lockfile --ignore-scripts | |
- name: Translations | |
env: | |
LOCALAZY_READ_KEY: a8269809765126758267-f01743c76d6e9e434d7b4c6322938eefce8d82a559b57efc2acfcf4531d46089 | |
run: yarn translations:pull | |
- name: Generate translations | |
run: yarn translations:generate-index | |
- name: Install src deps | |
working-directory: src | |
run: yarn --frozen-lockfile | |
- name: Install web deps | |
working-directory: web | |
run: yarn --frozen-lockfile | |
- name: Create release | |
run: | | |
chmod +x "./scripts/release.sh" | |
yarn release | |
- name: Create Release & Changelog | |
uses: 'marvinpinto/[email protected]' | |
id: auto_release | |
with: | |
repo_token: '${{ secrets.GITHUB_TOKEN }}' | |
title: PEFCL Release | (${{ steps.get_vars.outputs.VERSION_TAG }}) | |
prerelease: false | |
files: ./temp/pefcl.zip | |
env: | |
CI: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |