Revert: AppImageTool is now downloaded once

This commit is contained in:
XargonWan 2025-03-31 08:36:02 +09:00
parent 9d4cc49ac2
commit e3cb770c72

View file

@ -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: |