mirror of
https://github.com/RetroDECK/AppImages.git
synced 2025-04-11 02:55:09 +00:00
Revert: AppImageTool is now downloaded once
This commit is contained in:
parent
9d4cc49ac2
commit
e3cb770c72
40
.github/workflows/appimage_maker.yml
vendored
40
.github/workflows/appimage_maker.yml
vendored
|
|
@ -8,31 +8,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
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:
|
build:
|
||||||
needs: pre-build
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -41,14 +17,14 @@ jobs:
|
||||||
repo: https://github.com/dolphin-emu/dolphin.git
|
repo: https://github.com/dolphin-emu/dolphin.git
|
||||||
cmake_args: "-DENABLE_SDL=ON"
|
cmake_args: "-DENABLE_SDL=ON"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Download appimagetool artifact
|
- name: Set up build dependencies
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
sudo apt-get update
|
||||||
name: appimagetool
|
sudo apt-get install -y cmake make git wget patch
|
||||||
path: .
|
wget -O ../appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||||
|
chmod +x ../appimagetool
|
||||||
|
|
||||||
- name: Remove previous appimage directory
|
- name: Remove previous appimage directory
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -80,4 +56,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.project.name }}-AppImage
|
name: ${{ matrix.project.name }}-AppImage
|
||||||
path: appimages/${{ matrix.project.name }}/*.AppImage
|
path: appimages/${{ matrix.project.name }}/*.AppImage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue