Skip to content

Commit 5667d8d

Browse files
committed
fix: env file path
1 parent 602c33a commit 5667d8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
run: go version
3434
- name: Set VERSION env
3535
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
36+
- name: Copy .env file
37+
run: mv .env.sample .env
3638
- name: Package files for windows
3739
run: |
3840
make clean && CGO_ENABLED=1 GOOS=windows CC=/usr/bin/x86_64-w64-mingw32-gcc make
39-
mv .env.sample .env && \
4041
zip -vr authorizer-${VERSION}-windows-amd64.zip .env app build templates
4142
- name: Package files for linux
4243
run: |
4344
make clean && CGO_ENABLED=1 make
44-
mv .env.sample .env && \
4545
tar cvfz authorizer-${VERSION}-linux-amd64.tar.gz .env app build templates
4646
- name: Upload assets
4747
run: |

0 commit comments

Comments
 (0)