From 20f8a69e7fd605b2684e1fefb9c061daed2fb168 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sat, 2 Sep 2023 13:03:33 +0200 Subject: [PATCH] Use yet another action for tweeting. --- .github/workflows/announce.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/announce.yml b/.github/workflows/announce.yml index 0a7c4342b0..d80163882c 100644 --- a/.github/workflows/announce.yml +++ b/.github/workflows/announce.yml @@ -9,18 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - - name: Send announcement tweet! - if: ${{ !github.event.release.prerelease }} - uses: snow-actions/tweet@v1.4.0 - with: - status: | - Announcing the release of ExRam.Gremlinq ${{ github.event.release.tag_name }}! + - name: Send announcement tweet! + if: ${{ !github.event.release.prerelease }} + uses: dart-actions/tweet@v1.0.1 + with: + text: | + Announcing the release of ExRam.Gremlinq ${{ github.event.release.tag_name }}! - ExRam.Gremlinq is the first #dotnet object-graph-mapper for @apachetinkerpop #gremlin enabled #graphdb‎s like @AzureCosmosDB, @dotnetonAWS Neptune or @JanusGraph. + ExRam.Gremlinq is the first #dotnet object-graph-mapper for @apachetinkerpop #gremlin enabled #graphdb‎s like @AzureCosmosDB, @dotnetonAWS Neptune or @JanusGraph. - ${{ github.event.release.html_url }} - env: - CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} - CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} - ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} - ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} + ${{ github.event.release.html_url }} + consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} + consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} + access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} + access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}