Skip to content

update main.yml

update main.yml #41

Workflow file for this run

on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to test a post tweet action
steps:
- name: Hello world action step
id: hello
uses: noweh/[email protected]
with:
message: "Hello world, this is a test"
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"