Improve RSS diff generator #30
Workflow file for this run
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
name: Test RSS diff to Twitter | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run RSS diff to Twitter action (w/o diff) | |
uses: ./ | |
with: | |
OLD_RSS: test/new.xml | |
NEW_RSS: test/new.xml | |
TWITTER_APIKEY: FOOBAR | |
TWITTER_APIKEY_SECRET: FOOBAR | |
TWITTER_ACCESS_TOKEN: FOOBAR | |
TWITTER_ACCESS_TOKEN_SECRET: FOOBAR | |
- name: Run RSS diff to Twitter action (w/ diff) | |
continue-on-error: true # Expected to fail due to api key being invalid | |
uses: ./ | |
with: | |
OLD_RSS: test/old.xml | |
NEW_RSS: test/new.xml | |
TWITTER_APIKEY: FOOBAR | |
TWITTER_APIKEY_SECRET: FOOBAR | |
TWITTER_ACCESS_TOKEN: FOOBAR | |
TWITTER_ACCESS_TOKEN_SECRET: FOOBAR |