Update README.md #152
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: GitHub App tests | |
on: | |
- push | |
- pull_request_target | |
env: | |
PRIVATE_CUSTOM_ACTIONS: '["daspn/private-custom-action-2@master"]' | |
jobs: | |
app-key-base64: | |
name: GitHub app private checkout with a base64 key encoded | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Private actions checkout | |
uses: ./ | |
with: | |
actions_list: ${{ env.PRIVATE_CUSTOM_ACTIONS }} | |
checkout_base_path: ./.github/actions | |
app_id: ${{ secrets.APP_ID }} | |
app_private_key: ${{ secrets.APP_PRIVATE_KEY_BASE64 }} | |
- name: Say hello | |
uses: ./.github/actions/private-custom-action-2 | |
with: | |
who_to_greet: World | |
app-key-plain: | |
name: GitHub app private checkout with a plain key encoded | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Private actions checkout | |
uses: ./ | |
with: | |
actions_list: ${{ env.PRIVATE_CUSTOM_ACTIONS }} | |
checkout_base_path: ./.github/actions | |
app_id: ${{ secrets.APP_ID }} | |
app_private_key: ${{ secrets.APP_PRIVATE_KEY_PLAIN }} | |
- name: Say hello | |
uses: ./.github/actions/private-custom-action-2 | |
with: | |
who_to_greet: World |