mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 05:06:28 +00:00
fix
This commit is contained in:
@@ -65,7 +65,6 @@ jobs:
|
|||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
# Copy files to the specified directory
|
# Copy files to the specified directory
|
||||||
mkdir -p cli/rustfs-gui/embedded-rustfs
|
|
||||||
cp -r ${ARTIFACT_NAME}/rustfs cli/rustfs-gui/embedded-rustfs/
|
cp -r ${ARTIFACT_NAME}/rustfs cli/rustfs-gui/embedded-rustfs/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
@@ -102,20 +101,20 @@ jobs:
|
|||||||
- name: Build and Bundle rustfs-gui
|
- name: Build and Bundle rustfs-gui
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
ls -la
|
||||||
relaese_path = "target/${{ matrix.variant.target }}"
|
release_path="target/${{ matrix.variant.target }}"
|
||||||
mkdir -p ${relaese_path}
|
mkdir -p ${release_path}
|
||||||
cd cli/rustfs-gui
|
cd cli/rustfs-gui
|
||||||
ls -la embedded-rustfs
|
ls -la embedded-rustfs
|
||||||
if [[ "${{ matrix.variant.target }}" == *"apple-darwin"* ]]; then
|
if [[ "${{ matrix.variant.target }}" == *"apple-darwin"* ]]; then
|
||||||
dx bundle --platform macos --package-types "macos" --package-types "dmg" --package-types "ios" --release --profile release --out-dir ../../${relaese_path}
|
dx bundle --platform macos --package-types "macos" --package-types "dmg" --package-types "ios" --release --profile release --out-dir ../../${release_path}
|
||||||
elif [[ "${{ matrix.variant.target }}" == *"windows-msvc"* ]]; then
|
elif [[ "${{ matrix.variant.target }}" == *"windows-msvc"* ]]; then
|
||||||
dx bundle --platform windows --package-types "msi" --release --profile release --out-dir ../../${relaese_path}
|
dx bundle --platform windows --package-types "msi" --release --profile release --out-dir ../../${release_path}
|
||||||
fi
|
fi
|
||||||
cd ../..
|
cd ../..
|
||||||
GUI_ARTIFACT_NAME="rustfs-gui-${{ matrix.variant.profile }}-${{ matrix.variant.target }}"
|
GUI_ARTIFACT_NAME="rustfs-gui-${{ matrix.variant.profile }}-${{ matrix.variant.target }}"
|
||||||
zip -r ${GUI_ARTIFACT_NAME}.zip ${relaese_path}/rustfs-gui
|
zip -r ${GUI_ARTIFACT_NAME}.zip ${release_path}/rustfs-gui
|
||||||
echo "gui_artifact_name=${GUI_ARTIFACT_NAME}" >> $GITHUB_OUTPUT
|
echo "gui_artifact_name=${GUI_ARTIFACT_NAME}" >> $GITHUB_OUTPUT
|
||||||
ls -la ${relaese_path}
|
ls -la ${release_path}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user