Skip to content

Commit

Permalink
Update versioning.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt authored Jan 7, 2024
1 parent 15337aa commit 98cd24d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ jobs:
- name: Overwrite version.h
uses: "DamianReeves/write-file-action@master"
with:
path: version.h
path: src/version.cpp
write-mode: overwrite
contents: |
#include "AsyncFsWebServer.h"
const char* AsyncFsWebServer::getVersion() {
return "${{ steps.previoustag.outputs.tag }}";
}
- name: Commit & Push
uses: Andro999b/[email protected]
- name: push
uses: actions-x/commit@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
email: [email protected]
name: cotestatnt
branch: master
files: src/version.cpp
repository: https://github.com/cotestatnt/async-esp-fs-webserver
token: ${{ secrets.MY_SECRET_TOKEN }}
force: true
message: 'Overwritten by Github Actions'

0 comments on commit 98cd24d

Please sign in to comment.