Bump version to 0.0.2 #12
Workflow file for this run
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: Theos CI | |
on: | |
push: | |
#tags: | |
# - 'v*' | |
#branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Check cache | |
id: verify-cache | |
run: | | |
echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`" | |
- name: Use cache | |
id: cache | |
uses: actions/cache@v2 | |
with: | |
path: ${{ github.workspace }}/theos | |
key: ${{ runner.os }}-${{ steps.verify-cache.outputs.heads }} | |
- name: Prepare Theos | |
uses: Randomblock1/theos-action@v1 | |
- name: Build package | |
run: | | |
rm -f packages/* | |
make package FINALPACKAGE=1 | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ${{ github.workspace }}/packages/*.deb | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |