Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleCh1cken committed May 8, 2024
1 parent 7847a3d commit cf43b59
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
default: true
project-name:
required: false
default: ${{ github.repository.name }}
default: ${{ github.repository }}

runs:
using: composite
Expand All @@ -35,7 +35,7 @@ runs:
shell: bash

- name: Get project info
if: ${{ steps.template.outputs.template == 1 && inputs.upload-built-template}}
if: ${{ steps.template.outputs.template == 1 && inputs.upload-built-template == true }}
id: project-info
shell: bash
run: |
Expand Down Expand Up @@ -66,11 +66,14 @@ runs:
# Update version in Makefile
sed -i "s/^VERSION:=.*\$/VERSION:=$POSTFIX/" Makefile
env:
# random info needed in the step
# TODO: try to figure out if this can be removed
AFTER: ${{ github.event.after }} # this isn't present for pr opened events
ACTION: ${{github.event.action}}
PR_NUM: ${{github.event.number}}
TEMPLATE_NAME: ${{ github.event.repository.name }}

# info needed by other steps
SHA: ${{ steps.project-info.outputs.sha }}
VER: ${{ steps.project-info.outputs.version }}
POSTFIX: ${{ steps.project-info.outputs.postfix }}
Expand Down

0 comments on commit cf43b59

Please sign in to comment.