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:
|
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 }}
|
||||||
|
Reference in New Issue
Block a user