Skip to content

Commit

Permalink
Remove ping whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jobobby04 authored May 10, 2020
1 parent af8acf2 commit b5a2117
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/BuildPreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
run: |
echo "Event '${{ github.event.action }}' received from '${{ github.event.client_payload.repository }}'"
- name: PONG - Dispatch response to received PING
if: github.event.action == 'ping'
run: |
curl -X POST https://api.github.com/repos/jobobby04/TachiyomiSY/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
Expand All @@ -22,21 +21,17 @@ jobs:

steps:
- uses: actions/checkout@v2
if: github.event.action == 'ping'
with:
repository: 'jobobby04/TachiyomiSY'
fetch-depth: '0'
ref: 'master'
- name: set up JDK 1.8
if: github.event.action == 'ping'
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Get NDK
if: github.event.action == 'ping'
run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570"
- name: Write Version.kt
if: github.event.action == 'ping'
uses: DamianReeves/[email protected]
with:
# The path to the file to write
Expand All @@ -46,7 +41,6 @@ jobs:
# The mode of writing to use: `overwrite`, `append`, or `preserve`.
write-mode: overwrite # optional, default is preserve
- name: Write google-services.json
if: github.event.action == 'ping'
uses: DamianReeves/[email protected]
with:
# The path to the file to write
Expand All @@ -56,10 +50,8 @@ jobs:
# The mode of writing to use: `overwrite`, `append`, or `preserve`.
write-mode: overwrite # optional, default is preserve
- name: Build Release APK
if: github.event.action == 'ping'
run: bash ./gradlew assembleRelease --stacktrace
- name: Sign Android release
if: github.event.action == 'ping'
uses: r0adkll/sign-android-release@v1
with:
# The directory to find your release to sign
Expand All @@ -73,15 +65,13 @@ jobs:
# The password for the key
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Copy Build
if: github.event.action == 'ping'
uses: canastro/[email protected]
with:
# Source file
source: ${{ env.SIGNED_RELEASE_FILE }}
# Target file
target: TachiyomiSY-${{ github.run_number }}.apk
- name: Automatic Release
if: github.event.action == 'ping'
uses: marvinpinto/[email protected]
with:
# GitHub secret token
Expand Down

0 comments on commit b5a2117

Please sign in to comment.