From e3cb770c7295b0e49a563d2155d13491dab27b56 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 31 Mar 2025 08:36:02 +0900 Subject: [PATCH] Revert: AppImageTool is now downloaded once --- .github/workflows/appimage_maker.yml | 40 ++++++---------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/.github/workflows/appimage_maker.yml b/.github/workflows/appimage_maker.yml index 4789f3f..60c73fa 100644 --- a/.github/workflows/appimage_maker.yml +++ b/.github/workflows/appimage_maker.yml @@ -8,31 +8,7 @@ on: workflow_dispatch: jobs: - pre-build: - runs-on: ubuntu-latest - outputs: - appimagetool-path: ${{ steps.upload.outputs.artifact-path }} - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up build dependencies - run: | - sudo apt-get update - sudo apt-get install -y cmake make git wget patch - wget -O appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage - chmod +x appimagetool - - # Upload appimagetool so it can be used in the build job - - name: Upload appimagetool artifact - id: upload - uses: actions/upload-artifact@v3 - with: - name: appimagetool - path: appimagetool - build: - needs: pre-build runs-on: ubuntu-latest strategy: matrix: @@ -41,14 +17,14 @@ jobs: repo: https://github.com/dolphin-emu/dolphin.git cmake_args: "-DENABLE_SDL=ON" steps: - - name: Checkout repository - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Download appimagetool artifact - uses: actions/download-artifact@v3 - with: - name: appimagetool - path: . + - name: Set up build dependencies + run: | + sudo apt-get update + sudo apt-get install -y cmake make git wget patch + wget -O ../appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage + chmod +x ../appimagetool - name: Remove previous appimage directory run: | @@ -80,4 +56,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ matrix.project.name }}-AppImage - path: appimages/${{ matrix.project.name }}/*.AppImage \ No newline at end of file + path: appimages/${{ matrix.project.name }}/*.AppImage