Files
ioBroker.docker/.github/workflows/test-buildnumber.yml
2024-11-25 22:39:52 +01:00

27 lines
691 B
YAML

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