build-latest action

This commit is contained in:
Guillem Castro 2024-05-10 23:00:40 +02:00
parent 301bbb5623
commit de6698e2b6

View file

@ -1,9 +1,12 @@
name: Release name: Build latest
on: on:
push: push:
tags: branches:
- "v*" - master
pull_request:
branches:
- master
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -22,8 +25,8 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tag_name: ${{ github.ref }} tag_name: latest
release_name: Release ${{ github.ref }} release_name: Latest Build
build: build:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}