Skip to content

Commit

Permalink
fix: Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Sep 2, 2022
1 parent 85087d5 commit 97e335b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# .github/workflows/main.yml
name: Build
name: Liman Render Engine Build
on:
push:
braches: [main]
braches: [master]

jobs:
build:
Expand All @@ -12,20 +12,20 @@ jobs:
- name: Getting Go Binaries
uses: actions/setup-go@v2
with:
go-version: '1.18'
go-version: '1.19'
- name: Build Application
run: |
go get -u && go mod tidy
go build -o rest-server
go build -o liman_render
- name: Create Zip
run: |
zip -r /tmp/rest-server-${{ github.run_number }}.zip rest-server
zip -r /tmp/liman_render-${{ github.run_number }}.zip liman_render
- name: Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
files: /tmp/rest-server-${{ github.run_number }}.zip
files: /tmp/liman_render-${{ github.run_number }}.zip
name: "Release ${{ github.run_number }}"
tag_name: "release.${{ github.run_number }}"

0 comments on commit 97e335b

Please sign in to comment.