Skip to content

Commit

Permalink
Merge pull request #869 from wowsims/versioning_workflow
Browse files Browse the repository at this point in the history
Update API version in build-and-deploy workflow
  • Loading branch information
NerdEgghead authored Jul 24, 2024
2 parents b0bdd18 + 9603e23 commit e996c54
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .deployedprotoversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
saved_version_number: -1
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sim/core/TestProtoVersioning.results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
saved_version_number: 0

0 comments on commit e996c54

Please sign in to comment.