Improved workflows

More of this bullshit devops
This commit is contained in:
einisto 2022-07-27 20:56:23 +03:00
parent 087c99ebd2
commit 7810f6b38c
2 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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"