Skip to content
Permalink
Browse files

Add env variables

  • Loading branch information
Bara committed Oct 11, 2019
1 parent 116f6f7 commit 4cff2508c867add5145bfdc896b083c75cb7acb9
Showing with 6 additions and 5 deletions.
  1. +6 −5 .github/workflows/test.yml
@@ -39,11 +39,12 @@ jobs:
addons/sourcemod/scripting/spcomp -E -w234 -O2 -v2 addons/sourcemod/scripting/turret_core.sp
- name: Let's prepare packaging
run: |
COUNT=$(git rev-list --count HEAD)
VERSION=3.$COUNT
HASH="$(git log --pretty=format:%h -n 1)"
FILE=ttt-$2-$1-$VERSION-$HASH-$6.zip
run: echo Count-$COUNT Version-$VERSION Hash-$HASH File-$FILE
env:
COUNT: $(git rev-list --count HEAD)
VERSION: 3.$COUNT
HASH: "$(git log --pretty=format:%h -n 1)"
FILE: ttt-$2-$1-$VERSION-$HASH-$6.zip

- name: Remove plugins folder and create new ones
run: |

0 comments on commit 4cff250

Please sign in to comment.
You can’t perform that action at this time.