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 3a66884 commit eed231d
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,17 @@ jobs:
- name: Overwrite version.h
uses: "DamianReeves/write-file-action@master"
with:
path: src/version.cpp
path: version.h
write-mode: overwrite
contents: |
#include "AsyncFsWebServer.h" |
const char* AsyncFsWebServer::getVersion() { |
return "${{ steps.previoustag.outputs.tag }}"; |
#include "AsyncFsWebServer.h"
const char* AsyncFsWebServer::getVersion() {
return "${{ steps.previoustag.outputs.tag }}";
}
- name: Commit & Push changes
uses: actions-js/push@master
- name: Commit & Push
uses: Andro999b/push@v1.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Commit & Push
# uses: Andro999b/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: master
# force: true
# message: 'Overwritten by Github Actions - ${date}'
branch: master
force: true
message: 'Overwritten by Github Actions - ${date}'

0 comments on commit eed231d

Please sign in to comment.