-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
84 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[bumpversion] | ||
current_version = 0.0.1 | ||
files = .bumpversion.cfg .mvn/maven.config README.md | ||
message = [patch] next version v{new_version} | ||
commit = True | ||
tag = False | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# ensure utf | ||
[*.{bat,bat,ps,cs}] | ||
charset = latin1 | ||
end_of_line = crlf | ||
|
||
[*.{xml,xsd,xjb}] | ||
max_line_length = 140 | ||
|
||
# python specific formatting | ||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[{Makefile,*.mk}] | ||
# Use tabs for indentation (Makefiles require tabs) | ||
indent_style = tab | ||
indent_size = 4 |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- releases/** | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: echo "some build" | ||
|
||
scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- run: echo "scan something" | ||
|
||
inspect: | ||
runs-on: ubuntu-latest | ||
needs: [build, scan] | ||
steps: | ||
- run: jq '.' $GITHUB_EVENT_PATH | ||
|
||
release: | ||
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
needs: [build, scan] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: revision | ||
run: cat .bumpversion.cfg | grep current_version | awk '{ print version=$3 }' >> $GITHUB_ENV | ||
- run: echo "some publish with version {{ steps.revision.version }}" |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
.idea/ | ||
*.iml | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
-Drevision=0.0.1-SNAPSHOT |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# GitHub-action-test | ||
testing GitHub release process | ||
# GitHub Action Test | ||
|
||
Testing GitHub release process with current version v0.0.1 |