Skip to content

πŸ‘·β€β™€οΈ Move publishing inside single workflow #17

πŸ‘·β€β™€οΈ Move publishing inside single workflow

πŸ‘·β€β™€οΈ Move publishing inside single workflow #17

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
- name: Build reencode action
run: cd ./.github/actions/reencode-dictionaries && npm install && cd ../../../
- name: Move dictoinaries to root folder
run: cp ./ca/dictionaries/* ./ca
- name: "Change dictionaries encoding to UTF-8"
uses: ./.github/actions/reencode-dictionaries
- name: Publish
run: ./release.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}