Skip to content

Commit

Permalink
Add env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Oct 11, 2019
1 parent 116f6f7 commit 4cff250
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -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: |
Expand Down

0 comments on commit 4cff250

Please sign in to comment.