-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see if we can make built-apps a release
- Loading branch information
1 parent
12a8e0e
commit 80ccff3
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |