Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Sep 1, 2023
1 parent 1040aa1 commit 48b5878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/apk.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: APK

on:
# Triggers the workflow on push or pull request events
push:
branches:
- main

jobs:
assemble_demo_apk:
Expand Down Expand Up @@ -38,6 +37,7 @@ jobs:
path: app/build/outputs/apk/demo/app-demo.apk

- name: Upload APK in Telegram Group
if: github.ref == 'refs/heads/main'
run: |
COMMIT_LINK="https://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}"
COMMIT_MESSAGE=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${GITHUB_REPOSITORY}/commits/${GITHUB_SHA}" | jq -r .commit.message)
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
# Triggers the workflow on push or pull request events
push:

#Triggers when a pull request event occurs (opened, synchronize, reopened)
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
Expand Down

0 comments on commit 48b5878

Please sign in to comment.