Improved workflows
More of this bullshit devops
This commit is contained in:
parent
087c99ebd2
commit
7810f6b38c
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@main
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -3,7 +3,7 @@ name: Compile & Release
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
tags:
|
tags:
|
||||||
- "v[0-9]+.[0-9]+.[0-9]+"
|
- "*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
@ -20,8 +20,9 @@ jobs:
|
|||||||
archive: tar.gz tar.xz
|
archive: tar.gz tar.xz
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
archive: zip
|
archive: zip
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@main
|
||||||
- name: Compile and release
|
- name: Compile and release
|
||||||
uses: rust-build/rust-build.action@master
|
uses: rust-build/rust-build.action@master
|
||||||
env:
|
env:
|
||||||
@ -29,3 +30,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
RUSTTARGET: ${{ matrix.target }}
|
RUSTTARGET: ${{ matrix.target }}
|
||||||
ARCHIVE_TYPES: ${{ matrix.archive }}
|
ARCHIVE_TYPES: ${{ matrix.archive }}
|
||||||
|
EXTRA_FILES: "README.md LICENSE"
|
||||||
|
Loading…
Reference in New Issue
Block a user