mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-21 14:42:17 +02:00
test buildnumber
This commit is contained in:
1
.github/dependencies/.latest-build
vendored
Normal file
1
.github/dependencies/.latest-build
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
xxx
|
||||||
27
.github/workflows/test-buildnumber.yml
vendored
Normal file
27
.github/workflows/test-buildnumber.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Buildnumber test
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4.1.7
|
||||||
|
with:
|
||||||
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
token: ${{ secrets.ACTIONS_PAT }}
|
||||||
|
|
||||||
|
- name: Write build number
|
||||||
|
run: |
|
||||||
|
BUILD="$(date +"%Y%m%d.%H%M%S")"
|
||||||
|
echo "$BUILD" > .github/dependencies/.latest-build
|
||||||
|
echo "[LOG] Buildnumber: $BUILD"
|
||||||
|
|
||||||
|
- name: Commit latest release version
|
||||||
|
run: |
|
||||||
|
git config --global user.name 'buanet'
|
||||||
|
git config --global user.email 'info@buanet.de'
|
||||||
|
git commit -am "new build"
|
||||||
|
git push
|
||||||
Reference in New Issue
Block a user