-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial beta release. Features: * Visualizations: * Plus Minus Totals Pie Chart * Day of Week Histogram * Day of Month Histogram * Hour or Day Radar * Year Heatmap * Preview on GitHub Pages * Count using swipe gestures * Full screen counting * Count on multiple counters in parallel * Lock a counter * Vibrate on count * Automatic reset to 0 on configurable limit * Optional position recording on count * Preview unimplemented features * Dynamic update channel selection (Beta, Production) * GitHub and IssueHunt integration * Contributors overview * Online help
- Loading branch information
Showing
104 changed files
with
981 additions
and
33 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Count CI | ||
|
||
on: [push, pull_request, release] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
@@ -26,6 +26,23 @@ jobs: | |
git diff | ||
fi | ||
- name: Define Artifact Name | ||
id: artifact_name | ||
run: | | ||
build_args="${{ matrix.build-args }}" | ||
build_args="${build_args:-noargs}" | ||
build_args="${build_args//-}" | ||
build_args="${build_args// /-}" | ||
patch="${{ matrix.patch }}" | ||
patch="${patch:-nopatch}" | ||
patch="${patch##*/}" | ||
patch="${patch%.patch}" | ||
export ARTIFACT_NAME="count-${build_args}-${patch}-node${{ matrix.node-version }}-jdk${{ matrix.java-version }}" | ||
echo "Building Artifact: ${ARTIFACT_NAME}" | ||
echo ::set-output name=ARTIFACT_NAME::${ARTIFACT_NAME} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
|
@@ -52,9 +69,11 @@ jobs: | |
run: npm run test-headless | ||
|
||
- name: Coveralls Parallel | ||
env: | ||
COVERALLS_FLAG_NAME: ${{ steps.artifact_name.outputs.ARTIFACT_NAME }} | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
|
||
- name: Use JDK ${{ matrix.java-version }} | ||
|
@@ -70,15 +89,60 @@ jobs: | |
env: | ||
CI: true | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@master | ||
if: github.event == 'release' | ||
- name: Finalize APK | ||
env: | ||
STOREPASS: ${{ secrets.ACTIONS_KEYSTORE_PW }} | ||
run: | | ||
find \ | ||
platforms/ \ | ||
-name '*.apk' \ | ||
-print0 \ | ||
| xargs -0 -n1 -I{} \ | ||
./apk_finalize.sh \ | ||
{} \ | ||
"${{ steps.artifact_name.outputs.ARTIFACT_NAME }}.apk" | ||
- name: Upload Release Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: "count" | ||
path: platforms/android/app/build/outputs | ||
name: "${{ steps.artifact_name.outputs.ARTIFACT_NAME }}" | ||
path: "${{ steps.artifact_name.outputs.ARTIFACT_NAME }}.apk" | ||
|
||
finish: | ||
needs: build | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
|
||
- name: Branch name | ||
id: branch_name | ||
run: | | ||
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/} | ||
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/} | ||
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
|
||
- name: Download Release Artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: release/ | ||
|
||
- name: Create Release | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
uses: meeDamian/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: Release ${{ steps.branch_name.outputs.SOURCE_TAG }} | ||
gzip: folders | ||
files: > | ||
count-${{ steps.branch_name.outputs.SOURCE_TAG }}.apk:release/count-prod-release-nopatch-node12.x-jdk1.8/count-prod-release-nopatch-node12.x-jdk1.8.apk | ||
count-${{ steps.branch_name.outputs.SOURCE_TAG }}-playstore.apk:release/count-prod-release-store-release-node12.x-jdk1.8/count-prod-release-store-release-node12.x-jdk1.8.apk | ||
all-artifacts-${{ steps.branch_name.outputs.SOURCE_TAG }}:release/ | ||
draft: true |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Contributing | ||
|
||
We want to make contributing to this project as easy and transparent as | ||
possible. | ||
|
||
## Our Development Process | ||
|
||
We use GitHub to track issues and feature requests, as well as accept pull requests. | ||
See [Github Flow](https://guides.github.com/introduction/flow/index.html) for more information about our development process. | ||
|
||
## Pull Requests | ||
|
||
We actively welcome your pull requests. | ||
|
||
1. Fork the repo and create your branch from `master`. | ||
2. If you've added code that should be tested, add tests. | ||
3. If you've changed APIs, update the documentation. | ||
4. Ensure the test suite passes. | ||
5. Make sure your code lints. | ||
|
||
## Issues | ||
|
||
We use GitHub issues to track feature requests and public bugs. Please ensure | ||
your description is clear and has sufficient instructions to be able to | ||
reproduce the issue. | ||
|
||
Write bug reports with detail, background, and sample code. **Great Bug Reports** | ||
tend to have: | ||
|
||
- A quick summary and/or background | ||
- Steps to reproduce | ||
- Be specific! | ||
- Give sample code if you can. | ||
- What you expected would happen | ||
- What actually happens | ||
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work) | ||
|
||
## License | ||
|
||
By contributing, you agree that your contributions will be licensed under its [GNU Affero General Public License 3.0](https://www.gnu.org/licenses/agpl-3.0.en.html). |
Oops, something went wrong.