Update action.yml

This commit is contained in:
7ouscard7 2023-06-22 12:28:00 -06:00 committed by GitHub
parent 733026744b
commit dd336e2ce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 20 deletions

View File

@ -1,20 +1,12 @@
# steps:
# - ...
# - uses: docker-library/bashbrew
# - ...
name: 'Install Bashbrew'
description: 'Install the "bashbrew" tool in GITHUB_PATH'
runs:
using: 'composite'
steps:
- uses: actions/setup-go@v3
with:
go-version-file: '${{ github.action_path }}/go.mod'
- run: |
'${{ github.action_path }}/bashbrew.sh' --version > /dev/null
'${{ github.action_path }}/bin/bashbrew' --version
echo '${{ github.action_path }}/bin' >> "$GITHUB_PATH"
echo 'BASHBREW_SCRIPTS=${{ github.action_path }}/scripts' >> "$GITHUB_ENV"
shell: 'bash -Eeuo pipefail -x {0}'
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }}
on:
branch_protection_rule:
types: [created, deleted]
on:
check_run:
types: [rerequested, completed]
on:
check_suite:
types: [completed]