iOS artifact might need Version.txt file too.

This commit is contained in:
AdamN authored and GitHub committed 2025-06-10 18:51:40 +07:00
1 parent 339aa8d6ba
commit 6d38fca137
1 file changed
+9 -5
+9 -5
View File
@@ -224,17 +224,21 @@ jobs:
sudo apt-get update -y -qq
sudo apt-get install libsdl2-dev libgl1-mesa-dev libglu1-mesa-dev libsdl2-ttf-dev libfontconfig1-dev
- name: Create iOS Version.txt file
if: runner.os == 'macOS' && matrix.extra == 'ios'
run: |
# Create Version.txt file (should probably do this during building process)
mkdir build-ios
mkdir build-ios/PPSSPP.app
GIT_VERSION=$(git describe --always --tags)
echo $(echo $GIT_VERSION | cut -c 2-) > build-ios/PPSSPP.app/Version.txt
- name: Create macOS & iOS git-version.cpp for tagged release
if: github.ref_type == 'tag' && runner.os == 'macOS' && (matrix.extra == 'test' || matrix.extra == 'ios')
run: |
echo "const char *PPSSPP_GIT_VERSION = \"${GITHUB_REF_NAME}\";" > git-version.cpp
echo "#define PPSSPP_GIT_VERSION_NO_UPDATE 1" >> git-version.cpp
# Create Version.txt file (should probably do this during building process)
mkdir build-ios
mkdir build-ios/PPSSPP.app
echo $(echo $GITHUB_REF_NAME | cut -c 2-) > build-ios/PPSSPP.app/Version.txt
- name: Setup ccache
uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18
# Disable ccache on macos for now, it's become buggy for some reason.