Merge pull request #2 from limanmys/feature/report-queue-support #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/main.yml | |
name: Liman Render Engine Build | |
on: | |
push: | |
braches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Getting Go Binaries | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Build Application | |
run: | | |
go get -u && go mod tidy | |
go build -o liman_render | |
- name: Create Zip | |
run: | | |
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/liman_render-${{ github.run_number }}.zip | |
name: "Release ${{ github.run_number }}" | |
tag_name: "release.${{ github.run_number }}" |