Skip to content

Commit

Permalink
ci: better comments in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Aug 11, 2024
1 parent 91fbf92 commit b9f8ae9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-and-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build, bump version numbers, and update changelog

on:
push:
branches: [main] # not on insider release branch
paths: [source/**] # only for build for source files
paths: [source/**] # only trigger action when source files were changed
branches: [main] # do not trigger on other the insider-release branch
workflow_dispatch: # allows manually triggering on github

permissions:
Expand All @@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# by default, no tags and only a single commit is fetched. To use git
# By default, no tags and only a single commit is fetched. To use git
# history in the changelog step, we need to fetch all history.
with:
fetch-depth: 0 # 0 = all history
Expand All @@ -27,6 +27,9 @@ jobs:

- name: Build
run: |
# Due to globbing, the source files are inserted in alphabetical order.
# To keep things predictable, they are simply number in the order they
# should be included in.
cat ./source/*.css <(echo "/* @settings") ./source/style-settings.yaml <(echo "*/") \
> ./theme.css
Expand Down

0 comments on commit b9f8ae9

Please sign in to comment.