ci: 👷 Build and upload template on release #245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Template | |
on: | |
push: | |
branches: "**" | |
pull_request: | |
branches: "**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Build Template | |
id: build_step | |
uses: LemLib/[email protected] | |
with: | |
lib_folder_name: "gamepad" | |
copy_readme_and_license_to_include: true | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.build_step.outputs.name }} | |
path: ${{ github.workspace }}/template/* |