Verbose Moves in Release Action
Some checks failed
Some checks failed
This commit is contained in:
parent
818050e5c9
commit
9fd3970f58
1 changed files with 11 additions and 4 deletions
|
@ -13,6 +13,13 @@ jobs:
|
|||
-
|
||||
name: Placeholder
|
||||
run: echo Placeholder Job
|
||||
-
|
||||
name: Check if Version in Cargo.toml matches Tag
|
||||
run: |
|
||||
VERSION=(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d=)
|
||||
if test $VERSION != ' "${{ github.ref_name }}"'
|
||||
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"
|
||||
end
|
||||
|
||||
build:
|
||||
needs: test
|
||||
|
@ -51,9 +58,9 @@ jobs:
|
|||
run: |
|
||||
echo Moving Build Artifacts to Root
|
||||
mkdir artifacts
|
||||
mv src-tauri/target/release/comicinfo-editor-v2 artifacts/comicinfo-editor-v2-linux-amd64
|
||||
mv src-tauri/target/release/bundle/deb/*.deb artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb
|
||||
mv src-tauri/target/release/bundle/appimage/*.AppImage artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
|
||||
mv -v src-tauri/target/release/comicinfo-editor-v2 artifacts/comicinfo-editor-v2-linux-amd64
|
||||
mv -v src-tauri/target/release/bundle/deb/*.deb artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb
|
||||
mv -v src-tauri/target/release/bundle/appimage/*.AppImage artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
|
||||
-
|
||||
name: Uploading Build Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -74,7 +81,7 @@ jobs:
|
|||
name: Rearrange Artifact Paths
|
||||
run: |
|
||||
mkdir release
|
||||
mv comicinfo-editor-v2-linux-amd64/comicinfo-editor-v2-linux-amd64/* release/
|
||||
mv -v comicinfo-editor-v2-linux-amd64/comicinfo-editor-v2-linux-amd64/* release/
|
||||
-
|
||||
name: Upload Artifacts As Generic Packages
|
||||
run: |
|
||||
|
|
Reference in a new issue