maze-solver-go/.github/workflows/automatic-prerelease.yml

34 lines
625 B
YAML
Raw Normal View History

---
name: "pre-release"
on:
push:
branches:
2023-08-11 14:10:35 +02:00
- "main"
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
2023-08-11 14:27:24 +02:00
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
2023-08-11 14:29:35 +02:00
with:
go-version: "1.21"
2023-08-11 14:27:24 +02:00
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"