v2: test env

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-11-26 11:38:00 +03:30
parent c57abc00f6
commit 22c5992046
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F
2 changed files with 4 additions and 3 deletions

View File

@ -45,6 +45,7 @@ jobs:
- run: "export PATH=$PATH:./node_modules/.bin\nbuf generate \n" - run: "export PATH=$PATH:./node_modules/.bin\nbuf generate \n"
- name: tar files - name: tar files
run: | run: |
ls -l ./stub
for out in go ts doc; do for out in go ts doc; do
tar czf .res/${out}.tar.gz ./stub/${out}/ tar czf .res/${out}.tar.gz ./stub/${out}/
done done

View File

@ -7,11 +7,11 @@ permissions:
pull-requests: write pull-requests: write
packages: write packages: write
env:
REPO: ${{ gitea.action_repository }}
jobs: jobs:
buf: buf:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
REPO: ${{ gitea.action_repository }}
steps: steps:
- run: | - run: |
echo "test" echo "test"
@ -21,7 +21,7 @@ jobs:
echo ${{ gitea.ref_name }} echo ${{ gitea.ref_name }}
echo ${{ gitea.action_ref }} echo ${{ gitea.action_ref }}
echo ${{ gitea.action_path }} echo ${{ gitea.action_path }}
echo ${{ env.REPO }} echo ${{ env.REPO }} $REPO
echo ${{ gitea.base_ref }} echo ${{ gitea.base_ref }}
echo ${{ gitea.env }} echo ${{ gitea.env }}
echo ${{ gitea.event }} echo ${{ gitea.event }}