Skip to content

Commit

Permalink
Use a different syntax for if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Dec 29, 2023
1 parent 6cd6efe commit b802843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
sudo apt-get install -y git-core python3-pip wget
wget https://storage.googleapis.com/git-repo-downloads/repo && sudo mv repo /usr/bin/repo && sudo chmod a+x /usr/bin/repo
- name: Initialize and Sync Repo for ROM Manifest
if: ${{ inputs.choice == "ROM_MANIFEST" }}
if: ["${{ github.event.inputs.choice }}" == "ROM_MANIFEST"]
run: |
mkdir workspace
cd workspace
Expand All @@ -49,7 +49,7 @@ jobs:
timeout 1m repo sync || true
timeout-minutes: 6
- name: Initialize and Sync Repo for Local Manifest
if: ${{ inputs.choice == "LOCAL_MANIFEST" }}
if: ["${{ github.event.inputs.choice }}" == "LOCAL_MANIFEST"]
run: |
mkdir workspace
cd workspace
Expand Down

0 comments on commit b802843

Please sign in to comment.