0
0
mirror of https://github.com/TeFiLeDo/tree-owners.git synced 2024-11-24 21:26:17 +01:00

split workflow files

This commit is contained in:
Adrian Wannenmacher 2023-09-24 07:40:08 +02:00
parent 5631784043
commit 4cb1459f71
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
2 changed files with 30 additions and 33 deletions

View File

@ -1,36 +1,3 @@
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
target/debug/tree-owners
---
name: Release name: Release
on: on:

30
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
target/debug/tree-owners