Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Disable the apk release, see #524
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewL246 authored Sep 22, 2023
1 parent 15a3b38 commit a7a06eb
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,34 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: apk
path: TeamCode/build/outputs/apk/debug/TeamCode-debug.apk
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
path: TeamCode/build/outputs/apk/debug/TeamCode-debug.apk

# release:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ github.head_ref }}
# fetch-depth: 0

- uses: actions/download-artifact@v3
name: Create local changes
with:
name: apk
path: HelpPage/apk/bin
# - uses: actions/download-artifact@v3
# name: Create local changes
# with:
# name: apk
# path: HelpPage/apk/bin

- name: Display structure of downloaded files
run: ls -laR HelpPage/apk/bin
# - name: Display structure of downloaded files
# run: ls -laR HelpPage/apk/bin

- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -f ./HelpPage/apk/bin/*
git commit -m "Update the help page APK binary" ./HelpPage/apk/bin/*
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
# - name: Commit files
# run: |
# git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git add -f ./HelpPage/apk/bin/*
# git commit -m "Update the help page APK binary" ./HelpPage/apk/bin/*
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.ref }}

0 comments on commit a7a06eb

Please sign in to comment.