Run tests on staging #4
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: Run tests on staging | |
on: [workflow_dispatch] | |
jobs: | |
hello-world: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: suchithrzp/[email protected] | |
id: app-token | |
with: | |
app-id: ${{ vars.RELEASER_APP_ID }} | |
private-key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }} | |
- name: Get GitHub App User ID | |
id: get-user-id | |
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" | |
env: | |
GH_TOKEN: ${{ steps.app-token.outputs.token }} |