Skip to content

Commit

Permalink
Update pr-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube authored Oct 27, 2023
1 parent ee3d3eb commit ce97e01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: PR Build
on:
workflow_dispatch:
inputs:
# Flutter
flutter-branch:
description: Flutter branch
type: choice
Expand All @@ -13,9 +14,10 @@ on:
- dev
- master
flutter-cache:
description: Flutter cache
description: Cache
type: boolean
default: true
# Application configuration
app-flavour:
description: App flavour
default: 'release'
Expand All @@ -24,17 +26,17 @@ on:
- release
- debug
- profile
# Pull Request
pr-number:
description: PR number (No hashtag)
required: true

run-name: "Build PR ${{ inputs.pr-number }}"
run-name: "Build PR ${{ inputs.pr-number }} with "

jobs:
build:
name: Build the application
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -84,7 +86,6 @@ jobs:
- name: Prepare to comment & upload artefacts
run: |
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
if [[ "${{ steps.flutter-build.outcome }}" == "success" ]]; then
echo "MESSAGE=✅ The CI has sucessfully built ReVanced Manager at ${{ env.COMMIT_HASH }}." >> $GITHUB_ENV
Expand Down

0 comments on commit ce97e01

Please sign in to comment.