release action & repo structure
This commit is contained in:
parent
91f1a6d69f
commit
9d232bed81
BIN
.github/docs/contego-dark.png
vendored
Normal file
BIN
.github/docs/contego-dark.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
.github/docs/contego-light.png
vendored
Normal file
BIN
.github/docs/contego-light.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
37
.github/workflows/build.yaml
vendored
Normal file
37
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v[0-9]+.*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: taiki-e/create-gh-release-action@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
upload-assets:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- target: x86_64-unknown-linux-gnu
|
||||||
|
os: ubuntu-latest
|
||||||
|
- target: aarch64-apple-darwin
|
||||||
|
os: macos-latest
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: taiki-e/upload-rust-binary-action@v1
|
||||||
|
with:
|
||||||
|
bin: leightbox
|
||||||
|
tar: unix
|
||||||
|
include: LICENSE
|
||||||
|
checksum: sha256
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
4
.github/workflows/cargo-checkmate.yaml
vendored
4
.github/workflows/cargo-checkmate.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
on: [push, pull_request]
|
name: Checkmate CI
|
||||||
|
|
||||||
name: cargo-checkmate continuous integration
|
on: [push, pull_request]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<div align="center" style="text-align:center">
|
<div align="center" style="text-align:center">
|
||||||
<picture>
|
<picture>
|
||||||
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/17ms/contego/blob/master/docs/contego-dark.png">
|
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/17ms/contego/blob/master/.github/docs/contego-dark.png">
|
||||||
<img src="https://github.com/17ms/contego/blob/master/docs/contego-light.png" width="800">
|
<img src="https://github.com/17ms/contego/blob/master/.github/docs/contego-light.png" width="800">
|
||||||
</picture>
|
</picture>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user