Skip to content

fix: ci

fix: ci #6

Workflow file for this run

name: Build waifu2x! 🖼️
on:
push:
branches:
- master
env:
XCBUILD_PATH: "build/Release"
jobs:
ReleaseCI:
runs-on: macos-latest
steps:
- name: Checkout 🚚
uses: actions/checkout@v4
with:
lfs: true
submodules: true
- name: Install Dependencies 🚀
run: brew install tuist
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
- name: Setup latest Xcode ⚒️
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
#- name: Import Certificates 📜
# uses: apple-actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
# p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Generate project 🚀
#run: TUIST_BUNDLE=true tuist generate
run: TUIST_BUNDLE=true tuist generate
- name: Release Build 🔨
run: tuist build --configuration Release --build-output-path build
#- name: Check Send signature
# run: codesign --verify -vvvv --deep --strict "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"
- name: Create Disk Image 💿
run: |
mkdir Artifacts
cp ${XCBUILD_PATH}/*.dmg Artifacts
cp ${XCBUILD_PATH}/*.zip Artifacts
- name: Upload Artifacts ☕️
uses: actions/upload-artifact@v4
with:
name: Release
path: Artifacts/*