Skip to content

Commit

Permalink
chore: go build
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrest1 committed Feb 6, 2024
1 parent ff9d6e9 commit a55dd8a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
with:
go-version: 1.21.5

- name: Setup env
run: cp .env.example .env && echo PORT=${{ secrets.PORT }} >> .env && echo JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} >> .env
- name: Build
run: go build -v .
env:
PORT: ${{ secrets.PORT }}
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}

- name: Build and Run
run: |
go build -o main
./main

0 comments on commit a55dd8a

Please sign in to comment.