Skip to content

feat: Add toggle for adding cross-sim to network name #1

feat: Add toggle for adding cross-sim to network name

feat: Add toggle for adding cross-sim to network name #1

Workflow file for this run

name: default
on:
push:
paths:
- 'app/src/**'
pull_request:
paths:
- 'app/src/**'
permissions:
pull-requests: write
jobs:
build-debug-apk:

Check failure on line 14 in .github/workflows/build-debug-apk.yml

View workflow run for this annotation

GitHub Actions / default

Invalid workflow file

The workflow is not valid. .github/workflows/build-debug-apk.yml (Line: 14, Col: 3): The workflow must contain at least one job with no dependencies.
needs: [lint]
if: github.event_name == 'pull_request'
uses: ./.github/workflows/build-apk.yml
with:
build-type: debug
secrets:
key-alias: ${{ secrets.DEBUG_KEY_ALIAS }}
keystore: ${{ secrets.DEBUG_KEYSTORE_B64 }}
key-password: ${{ secrets.DEBUG_KEY_PASSWORD }}
post-apk-link:
needs: [build-debug-apk]
runs-on: ubuntu-latest
steps:
- name: Post link to action run detail page
uses: actions/github-script@v6
with:
script: |
try {
const commentResult = await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `APK build completed! Visit [action run detail page](https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}) to download the APK to test this pull request.`
})
console.log(commentResult)
} catch (e) {
console.log("Comment not posted:")
console.log(e)
}