Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

td GitHub Action

Table of Contents

Description

This GitHub Action sets up the td command-line tool and provides an example of how to use it to create tasks in tududi when a compilation error occurs.

Usage

- uses: klahr/setup-td@main
  with:
    email: ${{ secrets.EMAIL }}
    password: ${{ secrets.PASSWORD }}
    host: 'https://example.com'
    port: 8080

- name: Compile
  run: |
    if ! out=$(gcc example/main.c 2>&1); then
      echo "\`\`\`$out\`\`\`" | td task add "Run #${{ github.run_number }} - Compilation failed"
    fi

Result

Maintainers

klahr

Contributing

We enthusiastically encourage and welcome contributions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages