Move source files back to root directory #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build DontEatMyContent | |
on: | |
push: | |
branches: | |
- develop | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE.md' | |
- '.github/workflows/build.yml' | |
- '.github/workflows/build-and-release.yml' | |
- control | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout DontEatMyContent | |
uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Checkout Theos | |
uses: actions/[email protected] | |
with: | |
repository: theos/theos | |
ref: master | |
path: theos | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
brew install ldid | |
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)" | |
- name: Build | |
run: | | |
make package FINALPACKAGE=1 | |
make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless | |
# make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=roothide | |
PACKAGES=$(ls packages/ | grep .deb) | |
if [ -z "$PACKAGES" ]; then | |
echo "No packages found." | |
exit 1 | |
fi | |
env: | |
THEOS: ${{ github.workspace }}/theos | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Packages | |
path: packages/ |