Skip to content

Android CI/CD

Android CI/CD #4

Workflow file for this run

name: dasd
on:
pull_request:
branches:
- development
- master # Run only for pull requests targeting the develop and master branch
types:
- synchronize # Trigger when commits are added to the pull request
- opened # Trigger when a pull request is first opened
- reopened # Trigger when a previously closed pull request is reopened
jobs:
build:
name: "Build Project"
runs-on: ubuntu-latest
steps:
- name: Get Artifact URL
id: get-artifact-url
uses: actions/github-script@v6
with:
script: |
const downloadUrl = "https://api.github.com/repos/Kommunicate-io/Kommunicate-Android-Chat-SDK/actions/artifacts/2355441843"
var token = ${{ secrets.GITHUB_TOKEN }}
console.log(token);
const authenticatedUrl = `${downloadUrl}?access_token=${token}`;
core.setOutput('artifact_url', authenticatedUrl);
console.log(`Authenticated Artifact URL: ${authenticatedUrl}`);