generated from mistricky/nvim-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Build library | ||
- name: Build link lib | ||
uses: houseabsolute/actions-rust-cross@v0 | ||
with: | ||
command: "build" | ||
|
@@ -56,7 +56,7 @@ jobs: | |
- name: Commit changes | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
message: '[Update] files based on generated files by template generator' | ||
message: '[Update] generator link library on ${{ matrix.platform.os_name }}' | ||
pull_strategy: 'NO-PULL' | ||
push: false | ||
|
||
|
@@ -71,33 +71,35 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Read version from project config | ||
id: read_toml | ||
uses: SebRollen/[email protected] | ||
with: | ||
file: project.toml | ||
field: project.version | ||
|
||
- name: Replace template | ||
run: python3 scripts/replace-template.py | ||
|
||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
message: '[Update] files based on generated files by template generator' | ||
message: '[Release] ${{ steps.read_toml.outputs.value }}' | ||
pull_strategy: 'NO-PULL' | ||
push: false | ||
|
||
- name: Push changes | ||
run: | | ||
git pull --rebase | ||
git push | ||
- name: Read version from project config | ||
id: read_toml | ||
uses: SebRollen/[email protected] | ||
with: | ||
file: project.toml | ||
field: project.version | ||
git push | ||
- name: Bump version and push tag | ||
id: tag_version | ||
|