test creation of env file from gitea jobs
Some checks failed
build & package varnish exporter / build (push) Failing after 14s

This commit is contained in:
Ludovic Cartier
2025-07-21 12:11:45 +02:00
parent 1f2c2a0472
commit 78d5ac04aa

View File

@@ -11,6 +11,17 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 # default goes to /workspace/Clients/xxx
- name: test - add env file
run: |
echo "MY_GLOBAL_VAR=newvalue" > .version
git config --global user.name 'gitea-actions'
git config --global user.email 'no-reply@brainsys.io'
git add .version
git commit -m "Update version variable"
git push
- name: Get version - name: Get version
run: | run: |
TAG=${{ gitea.ref_name }} TAG=${{ gitea.ref_name }}