2021-10-13 18:44:32 +02:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-08-28 20:16:41 +02:00
|
|
|
- main
|
2021-10-13 18:44:32 +02:00
|
|
|
|
|
|
|
jobs:
|
2021-10-13 18:49:51 +02:00
|
|
|
build:
|
|
|
|
name: Build
|
2021-10-13 18:44:32 +02:00
|
|
|
runs-on: ubuntu-latest
|
2022-12-08 17:06:02 +01:00
|
|
|
# Skip job on forks
|
|
|
|
if: github.repository_owner == 'iconoir-icons'
|
2021-10-13 18:44:32 +02:00
|
|
|
steps:
|
2022-12-08 17:06:02 +01:00
|
|
|
- name: Checkout repository
|
2023-09-24 13:12:17 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-12-08 17:06:02 +01:00
|
|
|
|
2023-09-24 17:14:43 +02:00
|
|
|
- name: Setup
|
|
|
|
uses: ./.github/actions/setup
|
2022-12-08 17:06:02 +01:00
|
|
|
|
2023-10-29 00:33:17 +02:00
|
|
|
- name: Build CSS
|
|
|
|
run: pnpm run build css
|
2022-12-08 17:06:02 +01:00
|
|
|
|
|
|
|
- name: Commit changes
|
2023-10-29 01:44:52 +02:00
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
2022-12-08 17:06:02 +01:00
|
|
|
with:
|
|
|
|
commit_message: Update build artifacts
|