Skip to content

Commit

Permalink
ci: minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Dec 26, 2024
1 parent c829829 commit 66051e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: ci-android
name: on-pr

on:
workflow_dispatch:
pull_request:

jobs:
format:
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-android
name: publish

on:
schedule:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
build_type: ${{ inputs.release_type == '' && 'nightly' || inputs.release_type }}

publish:
needs:
needs:
- check_commits
- build
if: ${{ needs.check_commits.outputs.has_new_commits > 0 && inputs.release_type != 'none' }}
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

- name: Make download dir
run: mkdir ${{ github.workspace }}/temp

- name: Download artifacts
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
token: ${{ secrets.ANDROID_PAT }}
repository: zaneschepke/fdroid
event-type: fdroid-update

publish-play:
if: ${{ inputs.track != 'none' && inputs.track != '' }}
name: Publish to Google Play
Expand Down

0 comments on commit 66051e4

Please sign in to comment.