Skip to content

Merge pull request #33 from lazy-electron-consulting/dependabot/go_mo… #10

Merge pull request #33 from lazy-electron-consulting/dependabot/go_mo…

Merge pull request #33 from lazy-electron-consulting/dependabot/go_mo… #10

Workflow file for this run

name: "pre-release"
on:
push:
branches: [main]
paths:
- "go.sum"
- "go.mod"
- "**.go"
- "Makefile"
- ".github/workflows/pre-release.yaml"
jobs:
pre-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.18'
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: make test
- run: make release
- uses: "marvinpinto/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
dist/*
LICENSE
configs/*