Update repository.json #17
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 Library Bundle | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- ShellyDriverLibrary/ShellyUSA.ShellyUSA_Driver_Library.groovy | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Copy ShellyUSA_Driver_Library Files To Bundle Directory | |
runs-on: [ubuntu-latest] | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Zip Bundle | |
uses: thedoctor0/[email protected] | |
with: | |
type: 'zip' | |
filename: 'ShellyUSA_Driver_Library.zip' | |
directory: 'ShellyDriverLibrary' | |
- name: Move Bundle to parent directory | |
run: | | |
mv ShellyDriverLibrary/ShellyUSA_Driver_Library.zip ShellyUSA_Driver_Library.zip | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 |