Skip to content

Commit

Permalink
trying with composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
Johanna Ahlskog committed Sep 26, 2023
1 parent 817e26b commit c067fec
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,24 @@ inputs:
required: true
default: 'Not working'

#outputs:
# readme-badges:
# description: 'README badges text file'
outputs:
readme-badges:
description: 'README badges text file'

#runs:
#using: node16
#main: dist/index.js
runs:
using: "composite"
steps:
- name: "Run script"
run: node ${{ github.action_path }}/dist/index.js
shell: bash
env:
urlUpdate: ${{ vars.URLUPDATECOMPLIANCESTATE }}
urlRead: ${{ vars.URLREADTOREADME }}
urlDashboard: ${{ vars.URLDASHBOARD }}
readToReadMeKeyAcessKey: ${{ secrets.READTOREADMEACCESSKEY }}
using: node16
main: dist/index.js


#runs:
# using: "composite"
# steps:
# - name: "Run script"
# run: node ${{ github.action_path }}/dist/index.js
# shell: bash
# env:
# urlUpdate: ${{ vars.URLUPDATECOMPLIANCESTATE }}
# urlRead: ${{ vars.URLREADTOREADME }}
# urlDashboard: ${{ vars.URLDASHBOARD }}
# readToReadMeKeyAcessKey: ${{ secrets.READTOREADMEACCESSKEY }}

0 comments on commit c067fec

Please sign in to comment.