Skip to content

Commit

Permalink
Test GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyCA committed Oct 14, 2023
1 parent f6a849f commit e0789f4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build and release

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build tweak
runs-on: macos-13
permissions:
contents: write

steps:
- name: Checkout main
uses: actions/checkout@v4

- name: Install Dependencies
run: brew install ldid dpkg make

- name: Set PATH environment variable
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH

- name: Setup Theos
uses: actions/checkout@v4
with:
repository: theos/theos
ref: master
path: theos
submodules: recursive

- name: Build package
run: make package FINALPACKAGE=1

env:
THEOS: ${{ github.workspace }}/theos

# - name: Create Release
# id: create_release
# uses: softprops/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: v
# name: v${{ env.VERSION }}
# files: main/packages/*.deb

0 comments on commit e0789f4

Please sign in to comment.