|
24 | 24 | - {NAME: linux, OS: ubuntu-latest, ARCH: x86_64, PATH: target/optimized/bob, TARGET: ""} |
25 | 25 | - {NAME: linux, OS: ubuntu-24.04-arm, ARCH: arm, PATH: target/optimized/bob, TARGET: ""} |
26 | 26 | - {NAME: macos, OS: macos-latest, ARCH: x86_64, PATH: target/x86_64-apple-darwin/optimized/bob, TARGET: "x86_64-apple-darwin"} |
27 | | - - {NAME: windows, OS: windows-latest, ARCH: x86_64, PATH: build, TARGET: ""} |
| 27 | + - {NAME: windows, OS: windows-latest, ARCH: x86_64, PATH: build_out, TARGET: ""} |
28 | 28 | - {NAME: macos, OS: macos-latest, ARCH: arm, PATH: target/optimized/bob, TARGET: ""} |
29 | 29 | tls: |
30 | 30 | - {NAME: Rustls, SUFFIX: "", ARGS: ""} |
@@ -69,10 +69,12 @@ jobs: |
69 | 69 | if: matrix.os.NAME == 'linux' && matrix.tls.NAME == 'Rustls' |
70 | 70 | run: "mkdir -p AppDir/usr/bin AppDir/usr/share/icons/hicolor/256x256/apps AppDir/usr/share/applications\ncp target/optimized/bob AppDir/usr/bin/\ncp resources/bob-icon.png AppDir/usr/share/icons/hicolor/256x256/apps/bob.png\ncat <<EOF > AppDir/bob.desktop\n[Desktop Entry]\nName=Bob Neovim Manager\nExec=bob\nIcon=bob\nType=Application\nCategories=Utility;Development;\nComment=A cross-platform Neovim version manager\nEOF\ncp AppDir/bob.desktop AppDir/usr/share/applications/\n\n# Verify the file exists right before linuxdeploy\nls -l AppDir/usr/bin/bob \n\nexport UPD_INFO=\"gh-releases-zsync|Matsuuu|bob|latest|bob-${{ matrix.os.ARCH }}.AppImage.zsync\"\nexport OUTPUT=\"bob-${{ matrix.os.ARCH }}${{ matrix.tls.SUFFIX }}.AppImage\"\n\n# Change --executable path to be relative to CWD\n./linuxdeploy --appdir AppDir --executable AppDir/usr/bin/bob --desktop-file AppDir/bob.desktop --icon-file AppDir/usr/share/icons/hicolor/256x256/apps/bob.png --output appimage\n" |
71 | 71 | - name: "Setup Bob build directory" |
| 72 | + # env: |
| 73 | + # BUILD_OUTPUT: build_out |
72 | 74 | run: | |
73 | | - mkdir build |
74 | | - copy .\\bin\\vcruntime140.dll .\\build |
75 | | - copy .\\target\\optimized\\bob.exe .\\build |
| 75 | + mkdir ${{ matrix.os.PATH }} |
| 76 | + copy .\\bin\\vcruntime140.dll .\\${{ matrix.os.PATH }} |
| 77 | + copy .\\target\\optimized\\bob.exe ".\\${{ matrix.os.PATH }}" |
76 | 78 | if: matrix.os.OS == 'windows-latest' |
77 | 79 | - name: "Upload Bob binary" |
78 | 80 | uses: actions/upload-artifact@v4 |
|
0 commit comments