fix(ci): typo #71
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 latest version | |
on: | |
push: | |
branches: | |
- 'master' | |
workflow_run: | |
workflows: | |
- 'Fetch latest version' | |
types: | |
- completed | |
jobs: | |
auto-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repository | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
fetch-depth: 0 | |
- name: Get release version | |
id: get-version | |
run: | | |
version="$(cat package.json | jq -r '.version')" | |
echo "::set-output name=si::$version" | |
- name: Install system dependencies | |
run: sudo apt-get update -y && sudo apt-get install -y fontforge lcdf-typetools | |
- name: Install node dependencies | |
run: yarn | |
- name: Run script | |
run: node bindings.js | |
- name: Compile doc | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: simpleicons.tex | |
- name: Move files and make archive | |
run: ./scripts/archiver.sh | |
- uses: paolobrasolin/ctan-submit-action@v1 | |
with: | |
action: upload | |
file_path: simpleicons.zip | |
fields: | | |
update: "true" | |
pkg: simpleicons | |
version: ${{ steps.get-version.outputs.si }} | |
uploader: Inesh Bose | |
email: ${{ secrets.UPLOADER_EMAIL }} | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: v${{ steps.get-version.outputs.si }} | |
tag_name: ${{ steps.get-version.outputs.si }} | |
body: | | |
See https://github.com/simple-icons/simple-icons/releases/tag/${{ steps.get-version.outputs.si }} | |
files: | | |
simpleicons.zip | |
simpleicons.pdf |