Merge remote-tracking branch 'origin/main' into fix-macos-styling

This commit is contained in:
maxichrome 2022-05-11 12:43:27 -05:00
commit 0c015e64b2
No known key found for this signature in database
GPG key ID: DDC459310E98B6AB
2 changed files with 10 additions and 3 deletions

View file

@ -17,6 +17,7 @@ runs:
libavresample-dev \
libavutil-dev \
libswscale-dev \
libswresample-dev \
ffmpeg \
libgtk-3-dev \
webkit2gtk-4.0 \

View file

@ -8,23 +8,29 @@ runs:
shell: bash
run: chmod +x ./target/release/bundle/appimage/spacedrive*.AppImage
- name: Determine short GitHub SHA
shell: bash
run: |
export GITHUB_SHA_SHORT=$(git rev-parse --short "$GITHUB_SHA")
echo "GITHUB_SHA_SHORT=$GITHUB_SHA_SHORT" >> $GITHUB_ENV
- name: Publish artifacts (AppImage)
if: matrix.platform == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: Spacedrive-AppImage-${{ GITHUB_SHA::8 }}
name: Spacedrive-AppImage-${{ env.GITHUB_SHA_SHORT }}
path: ./target/release/bundle/appimage/spacedrive*.AppImage
- name: Publish artifacts (Windows)
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v3
with:
name: Spacedrive-Windows-${{ GITHUB_SHA::8 }}
name: Spacedrive-Windows-${{ env.GITHUB_SHA_SHORT }}
path: .\target\release\bundle\msi\*.msi
- name: Publish artifacts (macOS)
if: matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: Spacedrive-macOS-${{ GITHUB_SHA::8 }}
name: Spacedrive-macOS-${{ env.GITHUB_SHA_SHORT }}
path: ./target/release/bundle/macos/*.app