-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(main): support arm64 release docs
Signed-off-by: cuisongliu <[email protected]>
- Loading branch information
1 parent
0b519e5
commit 695358d
Showing
5 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,24 @@ jobs: | |
uses: actions-rust-lang/[email protected] | ||
env: | ||
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.arch }} | ||
- name: Determine Release Info | ||
id: info | ||
env: | ||
GITHUB_REF: ${{ github.ref }} | ||
run: | | ||
VERSION=${GITHUB_REF##*v} | ||
MAJOR=${VERSION%%.*} | ||
MINOR=${VERSION%.*} | ||
MINOR=${MINOR#*.} | ||
PATCH=${VERSION##*.} | ||
echo "VERSION=${VERSION}" >> $GITHUB_ENV | ||
echo "OUTPUTDIR=youki_${MAJOR}_${MINOR}_${PATCH}_linux" >> $GITHUB_ENV | ||
echo "INNERDIR=youki-${VERSION}" >> $GITHUB_ENV | ||
- name: Install just | ||
uses: taiki-e/install-action@just | ||
- name: Version update | ||
run: | | ||
sudo env PATH=$PATH just version-up ${{ env.VERSION }} | ||
- name: Install requirements | ||
if: ${{ matrix.arch == 'x86_64' }} | ||
run: | | ||
|
@@ -101,6 +117,7 @@ jobs: | |
files: | | ||
./${{ env.OUTPUTDIR }}-x86_64.tar.gz | ||
./${{ env.OUTPUTDIR }}-aarch64.tar.gz | ||
publish: | ||
name: Publish Packages | ||
needs: build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters