Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Aug 21, 2022
1 parent c230c31 commit 69aba66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,13 @@ on:
workflow_dispatch:

jobs:
dump_contexts_to_log:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
id: github_context_step
run: echo '${{ toJSON(github) }}'
- name: Dump job context
run: echo '${{ toJSON(job) }}'
- name: Dump steps context
run: echo '${{ toJSON(steps) }}'
- name: Dump runner context
run: echo '${{ toJSON(runner) }}'
- name: Dump strategy context
run: echo '${{ toJSON(strategy) }}'
- name: Dump matrix context
run: echo '${{ toJSON(matrix) }}'
run:
name: Run Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
- uses: ./
id: list-repo-langs
- run: echo ${{ steps.list-repo-langs.outputs.languages }}
- run: echo ${{ toJSON(steps.list-repo-langs.outputs.languages) }}
- run: echo ${{ fromJSON(steps.list-repo-langs.outputs.languages) }}
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
default: ${{ github.event.repository.name }}
required: false

outputs:
languages:
description: The languages of the repository as a JSON array

runs:
using: "node16"
main: "dist/index.js"

0 comments on commit 69aba66

Please sign in to comment.