Skip to content

Github Workflow fixes #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 46 commits into
base: wasp-os
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
4bdf663
Create main.yml
LatantSea Aug 9, 2020
05fcb5b
Delete main.yml
LatantSea Aug 9, 2020
55157e7
Update boards.c
LatantSea Aug 9, 2020
6e0d4b5
Update boards.h
LatantSea Aug 9, 2020
f9e53a3
Update boards.c
LatantSea Aug 9, 2020
1ba9453
Update boards.c
LatantSea Aug 10, 2020
d321926
Update boards.h
LatantSea Aug 10, 2020
3909816
Update boards.c
LatantSea Aug 10, 2020
abe1772
Update boards.c
LatantSea Aug 10, 2020
7a0f6b3
Update .gitignore
LatantSea Aug 10, 2020
c399036
Update .gitignore
LatantSea Aug 10, 2020
6a7e697
Update .gitignore
LatantSea Aug 10, 2020
26fc9b3
Update boards.c
LatantSea Aug 10, 2020
f3658cc
Update githubci.yml
LatantSea Aug 10, 2020
788c793
Update githubci.yml
LatantSea Aug 10, 2020
0cf0525
Create github-example.yml
LatantSea Aug 10, 2020
1e38804
Rename .github/github-example.yml to .github/workflows/github-example…
LatantSea Aug 10, 2020
5433b08
Update githubci.yml
LatantSea Aug 10, 2020
29eef15
Update githubci.yml
LatantSea Aug 10, 2020
d0942b5
Update githubci.yml
LatantSea Aug 11, 2020
5f2ac8d
Update githubci.yml
LatantSea Aug 11, 2020
4ca9209
Update upload_release_files.py
LatantSea Aug 11, 2020
4c18455
Update githubci.yml
LatantSea Aug 11, 2020
17dcb5d
Update githubci.yml
LatantSea Aug 11, 2020
aa9b9c4
Update githubci.yml
LatantSea Aug 11, 2020
ee12bc1
Update githubci.yml
LatantSea Aug 11, 2020
4e72770
Update githubci.yml
LatantSea Aug 11, 2020
56d57ab
Update githubci.yml
LatantSea Aug 11, 2020
a58095e
Update githubci.yml
LatantSea Aug 11, 2020
bee0997
Update githubci.yml
LatantSea Aug 11, 2020
7e2110e
Update githubci.yml
LatantSea Aug 11, 2020
65d9cf5
Update githubci.yml
LatantSea Aug 11, 2020
90be6d4
Update githubci.yml
LatantSea Aug 11, 2020
9673d88
Delete github-example.yml
LatantSea Aug 11, 2020
e3fd023
Update boards.c
LatantSea Aug 11, 2020
9afc009
Update upload_release_files.py
LatantSea Aug 11, 2020
73e643e
Update githubci.yml
LatantSea Aug 11, 2020
e34a83f
added artifacts and fixed release call
LatantSea Aug 11, 2020
48522a3
Update boards.c
LatantSea Aug 11, 2020
26f18ee
Update boards.c
LatantSea Aug 11, 2020
7e6d739
prevented call to undefined variable
LatantSea Aug 11, 2020
f67d63d
Update boards.c
LatantSea Aug 11, 2020
0bfd1a2
prevents error when successes > 0
LatantSea Aug 11, 2020
5190603
Update boards.c
LatantSea Aug 11, 2020
fec870f
Update build_all.py
LatantSea Aug 11, 2020
64fb852
Update build_all.py
LatantSea Aug 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ jobs:

- name: Upload Release Asset
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
working-directory: tools
env:
UPLOAD_URL: ${{ github.event.release.upload_url }}
ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py"
run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py"

- name: Upload Artifacts
if: github.event_name != 'release'
uses: actions/upload-artifact@v2
with:
name: bin-artifacts
path: bin/
6 changes: 5 additions & 1 deletion tools/build_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@
print("Build Sumamary: {} \033[32msucceeded\033[0m, {} \033[31mfailed\033[0m and took {:.2f}s".format(success_count, fail_count, total_time))
print(build_separator)

sys.exit(exit_status)
if success_count > 0:
print('Exit status:' + str(exit_status))
sys.exit(0)
else:
sys.exit(exit_status)