Skip to content

Commit

Permalink
see if we can make built-apps a release
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplegatecp committed Dec 20, 2023
1 parent 12a8e0e commit 80ccff3
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,15 @@ jobs:
./.github/workflows/csclient_compare.sh
shell: bash
- name: Run make build and clean
if: github.event_name == 'pull_request'
run: |
chmod +x ./.github/workflows/builds.sh
./.github/workflows/builds.sh
shell: bash
- name: Run make build and clean and commit newly built apps to github
- name: Publish
if: github.event_name != 'pull_request'
run: |
git config --global user.name 'Github actions auto build packages'
git config --global user.email '[email protected]'
chmod +x ./.github/workflows/builds.sh
./.github/workflows/builds.sh
git add built_apps/*
git commit -m "Rebuilt apps"
git push
uses: softprops/action-gh-release@v1
# TODO: if any of the build step fails, the release should be deleted.
with:
files: 'built_apps/*'
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit 80ccff3

Please sign in to comment.