Skip to content

Commit

Permalink
echo runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed May 31, 2024
1 parent 6c14db3 commit 6132a45
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions actions/apt-get-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

name: "Install Debian/Ubuntu packages"
description: Runs apt-get to install Debian/Ubuntu packages.
if: runner.os == 'Linux'
inputs:
packages:
description: The names of the packages to install
Expand All @@ -26,7 +25,13 @@ inputs:
runs:
using: composite
steps:
- shell: bash
- name: runner_os
shell: bash
run: |
echo ${{ runner.os }}
- name: install packages
if: runner.os == 'Linux'
shell: bash
env:
PACKAGES: ${{ inputs.packages }}
CONDITION: ${{ inputs.only-if-not-present }}
Expand Down

0 comments on commit 6132a45

Please sign in to comment.