-
Notifications
You must be signed in to change notification settings - Fork 27
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 #155 from fhem/sidey79/issue152
update perl to 5.36.3 on bullseye image
- Loading branch information
Showing
11 changed files
with
905 additions
and
1,361 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,3 @@ | ||
src/FHEM/trunk | ||
.github | ||
.vscode |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,42 +1,42 @@ | ||
name: Reusable composit workflow which prepares svn | ||
description: pull svn remote, extract svn ref and latest tag | ||
outputs: | ||
VARIANT_FHEM: | ||
description: "Combined string, with FHEM Version and latest svn commit id" | ||
value: ${{ steps.svnVars.outputs.VARIANT_FHEM }} | ||
FHEM_REVISION_LATEST: | ||
description: "The revision Number pulled from SVN" | ||
value: ${{ steps.svnVars.outputs.FHEM_REVISION_LATEST }} | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Get latest svn revision from remote server | ||
shell: bash | ||
id: svnRemote | ||
run: echo "LAST_SVN_REVISION=$( svn info --show-item revision https://svn.fhem.de/fhem/trunk )" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache fhem | ||
id: cache-fhem | ||
uses: actions/cache@v4 | ||
with: | ||
path: ./src/fhem/trunk | ||
key: ${{ runner.os }}-fhemsvn-${{ steps.svnRemote.outputs.LAST_SVN_REVISION }} | ||
restore-keys: | | ||
${{ runner.os }}-fhemsvn- | ||
- name: Update or checkout fhem from svn | ||
shell: bash | ||
if: steps.cache-fhem.outputs.cache-hit != 'true' | ||
run: svn update ./src/fhem/trunk/ || svn co https://svn.fhem.de/fhem/trunk ./src/fhem/trunk; | ||
|
||
- name: prepare svn vars | ||
shell: bash | ||
id: svnVars | ||
working-directory: ./src/fhem/trunk | ||
run: | | ||
FHEM_REVISION_LATEST=$( svn info --show-item last-changed-revision) | ||
FHEM_VERSION=$( svn ls "^/tags" https://svn.fhem.de/fhem/ | grep "FHEM_" | sort | tail -n 1 | cut -d / -f 1 | cut -d " " -f 1 |cut -d _ -f 2- | sed s/_/./g ) | ||
echo "VARIANT_FHEM=$(echo "${FHEM_VERSION}-s${FHEM_REVISION_LATEST}")" >> $GITHUB_OUTPUT | ||
echo "FHEM_REVISION_LATEST=$(echo "$FHEM_REVISION_LATEST")" >> $GITHUB_OUTPUT | ||
name: Reusable composit workflow which prepares svn | ||
description: pull svn remote, extract svn ref and latest tag | ||
outputs: | ||
VARIANT_FHEM: | ||
description: "Combined string, with FHEM Version and latest svn commit id" | ||
value: ${{ steps.svnVars.outputs.VARIANT_FHEM }} | ||
FHEM_REVISION_LATEST: | ||
description: "The revision Number pulled from SVN" | ||
value: ${{ steps.svnVars.outputs.FHEM_REVISION_LATEST }} | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Get latest svn revision from remote server | ||
shell: bash | ||
id: svnRemote | ||
run: echo "LAST_SVN_REVISION=$( svn info --show-item revision https://svn.fhem.de/fhem/trunk )" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache fhem | ||
id: cache-fhem | ||
uses: actions/cache@v4 | ||
with: | ||
path: ./src/fhem/trunk | ||
key: ${{ runner.os }}-fhemsvn-${{ steps.svnRemote.outputs.LAST_SVN_REVISION }} | ||
restore-keys: | | ||
${{ runner.os }}-fhemsvn- | ||
- name: Update or checkout fhem from svn | ||
shell: bash | ||
if: steps.cache-fhem.outputs.cache-hit != 'true' | ||
run: svn update ./src/fhem/trunk/ || svn co https://svn.fhem.de/fhem/trunk ./src/fhem/trunk; | ||
|
||
- name: prepare svn vars | ||
shell: bash | ||
id: svnVars | ||
working-directory: ./src/fhem/trunk | ||
run: | | ||
FHEM_REVISION_LATEST=$( svn info --show-item last-changed-revision) | ||
FHEM_VERSION=$( svn ls "^/tags" https://svn.fhem.de/fhem/ | grep "FHEM_" | sort | tail -n 1 | cut -d / -f 1 | cut -d " " -f 1 |cut -d _ -f 2- | sed s/_/./g ) | ||
echo "VARIANT_FHEM=$(echo "${FHEM_VERSION}-s${FHEM_REVISION_LATEST}")" >> $GITHUB_OUTPUT | ||
echo "FHEM_REVISION_LATEST=$(echo "$FHEM_REVISION_LATEST")" >> $GITHUB_OUTPUT |
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 |
---|---|---|
|
@@ -5,3 +5,5 @@ fhem/backup/* | |
fhem/cache/* | ||
fhem/log/* | ||
fhem/restoreDir/* | ||
.vscode/* | ||
src/FHEM/trunk/* |
Oops, something went wrong.