Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSoZRious committed Mar 26, 2024
1 parent f87f3f7 commit ee1f125
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'CI'

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Build api go application
env:
CGO_ENABLED: 0
GOOS: linux
run: go build ./apps/api/... -o api

- name: Build admin-api go application
env:
CGO_ENABLED: 0
GOOS: linux
run: go build ./apps/admin_api/... -o admin_api

- uses: actions/upload-artifact@v3
with:
name: api
path: api

- uses: actions/upload-artifact@v3
with:
name: admin_api
path: admin_api

0 comments on commit ee1f125

Please sign in to comment.