Update create_release_and_build.yml
This commit is contained in:
@@ -10,6 +10,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
||||||
|
# Publish to crates.io
|
||||||
|
- name: publish to crates.io
|
||||||
|
uses: katyo/publish-crates@v1
|
||||||
|
with:
|
||||||
|
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
# Build for linux x86_64
|
# Build for linux x86_64
|
||||||
- name: build release linux_x86_64
|
- name: build release linux_x86_64
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
@@ -20,7 +27,7 @@ jobs:
|
|||||||
run: tar -C target/release -czf ./oxker_linux_x86_64.tar.gz oxker
|
run: tar -C target/release -czf ./oxker_linux_x86_64.tar.gz oxker
|
||||||
|
|
||||||
# Build for linux aarch64, aka 64 bit pi 4
|
# Build for linux aarch64, aka 64 bit pi 4
|
||||||
- name: build release armv7
|
- name: build release arm64v8
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
@@ -82,12 +89,6 @@ jobs:
|
|||||||
--push \
|
--push \
|
||||||
-f containerised/Dockerfile .
|
-f containerised/Dockerfile .
|
||||||
|
|
||||||
# Publish to crates.io
|
|
||||||
- name: publish to crates.io
|
|
||||||
uses: katyo/publish-crates@v1
|
|
||||||
with:
|
|
||||||
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
|
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user