Skip to content

Commit

Permalink
ci: update commit message (#39)
Browse files Browse the repository at this point in the history
* ci: try to use install action

* ci: update commit message
  • Loading branch information
futursolo authored Jan 15, 2023
1 parent 8cf7b63 commit bb0ee23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Install Cargo Generate
run: cargo install cargo-generate
uses: taiki-e/install-action@v2
with:
tool: cargo-generate

- name: Generate Template
run: |
Expand Down Expand Up @@ -145,6 +147,7 @@ jobs:
BRANCH: templates-main
FOLDER: templates
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "chore: sync template for {sha}"

- name: Publish Release Templates
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -154,3 +157,4 @@ jobs:
BRANCH: templates
FOLDER: templates
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "chore: sync template for ${{ github.ref_name }}"

0 comments on commit bb0ee23

Please sign in to comment.