test creation of env file from gitea jobs
Some checks failed
build & package varnish exporter / build (push) Failing after 14s
Some checks failed
build & package varnish exporter / build (push) Failing after 14s
This commit is contained in:
@@ -11,6 +11,17 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
run: |
|
||||
TAG=${{ gitea.ref_name }}
|
||||
|
Reference in New Issue
Block a user