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:
|
||||
|
||||
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
|
||||
path: appimages/${{ matrix.project.name }}/*.AppImage
|
||||
|
|
|
|||
Loading…
Reference in a new issue