Skip to content

Commit

Permalink
Add releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Apr 20, 2022
1 parent 5fef9a9 commit b943b6f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,20 @@ jobs:
- uses: actions/upload-artifact@master
with:
name: apriltag-${{ matrix.artifact-name }}
path: build/*.so
path: build/*.so

apriltag-release:
needs: [apriltag-build-host, apriltag-build-docker]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2

- uses: pyTooling/Actions/releaser@r0
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: 'Dev'
rm: true
files: |
*.dll
*.so
if: github.event_name == 'push'
6 changes: 0 additions & 6 deletions example/apriltag_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ either expressed or implied, of the Regents of The University of Michigan.
//
// tagtest [options] input.pnm

#ifndef hamm_hist_max
#define hamm_hist_max 10
#endif

int main(int argc, char *argv[])
{
Expand Down Expand Up @@ -118,10 +116,6 @@ int main(int argc, char *argv[])

int maxiters = getopt_get_int(getopt, "iters");

#ifdef __linux__
const int hamm_hist_max = 10;
#endif

for (int iter = 0; iter < maxiters; iter++) {

int total_quads = 0;
Expand Down

0 comments on commit b943b6f

Please sign in to comment.