Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baseline workflow uses proper version #1011

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/generate_baseline_profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ name: Generate Baseline Profile

on:
workflow_dispatch:
inputs:
sdk_version:
description: 'SDK version'
required: false
workflow_call:
inputs:
sdk_version:
required: false
type: string
secrets:
token:
required: true
Expand Down Expand Up @@ -67,6 +75,12 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3

- name: Set Version
if: ${{ github.event.inputs.sdk_version != "" }}
run: |
cd android-sdk-benchmark
sed -i -r "s#swazzler_version = ([^\']+)#swazzler_version = ${{ github.event.inputs.next_version }}#" gradle.properties

- name: Generate Baseline Profile
run: |
cd android-sdk-benchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

release-candidate:
name: Create Release Candidate
needs: release-branch
needs: baseline-profile
uses: ./.github/workflows/build-rc-workflow.yml
secrets: inherit
with:
Expand Down
Loading