π·ββοΈ Move publishing inside single workflow #17
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: 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 }} |