Try to add release files
This commit is contained in:
parent
717c5c54a5
commit
6c87e95cad
|
|
@ -2,7 +2,8 @@ name: CI release
|
||||||
run-name: CI release
|
run-name: CI release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: '*'
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|
@ -16,11 +17,13 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo fmt --check
|
- run: cargo fmt --check
|
||||||
- uses: https://github.com/Swatinem/rust-cache@v2
|
- uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
key: ${{ matrix.target }}
|
||||||
- name: cross compile for ${{ matrix.target }}
|
- name: cross compile for ${{ matrix.target }}
|
||||||
run: cross build --target ${{ matrix.target }} --release
|
run: cross build --target ${{ matrix.target }} --release
|
||||||
- uses: actions/release-action@main
|
- uses: actions/release-action@main
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
target/${{ matrix.target }}/release/crabidy-server
|
target/${{ matrix.target }}/release/*.d
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
pre_release: true
|
pre_release: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue