We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80471cb commit 673680eCopy full SHA for 673680e
README.md
@@ -1,21 +1,21 @@
1
# action-get-primary-language
2
Get Primary Language
3
+
4
+Set a personal PAT on the repository or an organization PAT with minimal rights called GH_PAT
5
6
+Use the ${{ needs.read_type.outputs.primaryLanguage}} in subsequent jobs
7
8
```
9
name: CI Testing Primary Language
10
on: [push]
11
12
jobs:
13
read_type:
14
+ outputs:
15
+ primaryLanguage: ${{ steps.read.outputs.primary_language }}
16
runs-on: ubuntu-latest
17
name: Detect Primary Language
18
steps:
- # To use this repository's private action,
- # you must check out the repository
- # Temporarily public, testing in personal Org
- - name: Checkout
- uses: actions/checkout@v4
- with:
- token: ${{ secrets.GH_PAT}}
19
- name: Read integration_type
20
id: read
21
uses: fiddlermikey/action-get-primary-language@v1
0 commit comments