/
githubmirror
/
FiraCode
Обзор
Документация
Войти
/
githubmirror
/
FiraCode
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/build.yml
34 строки
891 B
Nikita Prokopov
Simplified linux builds
02 мар 2026, 23:29
02 мар 2026, 23:29
fdf8bc9
Код
Авторство
О чём код?
on: push: branches: - '*' tags: - '[0-9]+.[0-9]+' paths: - '.github/workflows/**' - 'FiraCode.glyphs' - 'requirements.txt' - 'script/**' jobs: build: permissions: contents: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install Dependencies run: ./script/bootstrap_linux.sh - if: startsWith(github.ref, 'refs/tags/') run: python3 ./script/update_version.py - run: ./script/build.sh - run: echo "hash=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV - uses: actions/upload-artifact@v4 with: name: Fira_Code_${{ env.hash }} path: distr - if: startsWith(github.ref, 'refs/tags/') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} run: python3 ./script/release.py