-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from wowsims/versioning_workflow
Update API version in build-and-deploy workflow
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 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 @@ | ||
saved_version_number: -1 |
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 |
---|---|---|
|
@@ -33,6 +33,20 @@ jobs: | |
run: | | ||
make dist/cata/.dirstamp | ||
- name: Update proto version file | ||
run: | | ||
cp sim/core/TestProtoVersioning.results .deployedprotoversion | ||
- name: Commit updated version file | ||
run: | | ||
git config --local user.name actions-user | ||
git config --local user.email "[email protected]" | ||
if ! git diff --exit-code; then | ||
git add .deployedprotoversion | ||
git commit -m "Updating .deployedprotoversion file due to API version increase" | ||
git push origin master | ||
fi | ||
- name: Test | ||
run: | | ||
make test | ||
|
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 @@ | ||
saved_version_number: 0 |