Skip to content

Commit

Permalink
ci: appimage fix artefacts path
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Jun 18, 2023
1 parent 7b00e8e commit b6e1332
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: axolotl
name: build-axolotl-linux-amd64
path: axolotl
retention-days: 1

Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: linux-arm64
name: build-axolotl-linux-arm64
path: target/aarch64-unknown-linux-gnu/release/axolotl
retention-days: 1

Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/package.yaml
Expand Up @@ -15,10 +15,12 @@ jobs:
- name: Download axolotl and axolotl-web build artifacts
uses: actions/download-artifact@v3
with:
name: build-axolotl-linux-amd64
path: build-artifacts

- name: Setup appimagetool
run: |
find ./build-artifacts
curl -sLO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
sudo apt-get update
Expand All @@ -29,12 +31,9 @@ jobs:
ARCH: x86_64
run: |
mkdir -p build/AppDir/usr/bin
cp -f build-artifacts/axolotl/axolotl build/AppDir/usr/bin/axolotl
cp -f build-artifacts/build-axolotl-linux-amd64/axolotl build/AppDir/usr/bin/axolotl
chmod +x build/AppDir/usr/bin/axolotl
mkdir -p build/AppDir/usr/bin/axolotl-web/dist
cp -rf build-artifacts/axolotl-web/* build/AppDir/usr/bin/axolotl-web/dist
cp -f appimage/AppDir/AppRun build/AppDir/AppRun
chmod +x build/AppDir/AppRun
Expand Down Expand Up @@ -120,7 +119,7 @@ jobs:
package-click-amd64:
name: Package as click amd64
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down

0 comments on commit b6e1332

Please sign in to comment.