-
Notifications
You must be signed in to change notification settings - Fork 16
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
1 parent
15337aa
commit 98cd24d
Showing
1 changed file
with
8 additions
and
5 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 |
---|---|---|
|
@@ -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' |