Skip to content

Commit

Permalink
Update zip_creation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jumping2000 authored Jun 23, 2023
1 parent ba08c50 commit 9a9a9f7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/zip_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@ jobs:
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v3

- name: 📦 Create zip file for the packages blueprints lovelace folder
uses: vimtor/action-zip@v1.1
with:
files: elettrodomestici_2023/packages/ elettrodomestici_2023/esphome/ elettrodomestici_2023/lovelace/ elettrodomestici_2023/www/
dest: elettrodomestici_2023.zip
recursive: false

- name: 📦 Create zip file for the packages esphome lovelace www
run: |
cd "${{ github.workspace }}/elettrodomestici_2023"
zip -r elettrodomestici_2023.zip packages esphome lovelace www button_card_templates
- name: 📤 Upload the zip file as a release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "${{ github.workspace }}/elettrodomestici_2023.zip"
file: "${{ github.workspace }}//elettrodomestici_2023/elettrodomestici_2023.zip"
asset_name: elettrodomestici_2023.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 9a9a9f7

Please sign in to comment.