Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
adjust release path
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Dec 5, 2020
1 parent 34e745f commit 862ace6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,24 @@ jobs:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: list dir
run: |
ls -alh
- name: list workspace
run: |
ls -alh /home/runner/work/
ls -alh /home/runner/work/rki_covid/
- name: pwd
run: |
pwd
# Pack the HACS dir as a zip and upload to the release
- name: ZIP rki_covid Dir
run: |
cd /home/runner/work/custom_components/rki_covid
cd /home/runner/work/rki_covid/custom_components/rki_covid
zip rki_covid.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v1-release

with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/custom_components/rki_covid/rki_covid.zip
file: /home/runner/work/rki_covid/custom_components/rki_covid/rki_covid.zip
asset_name: rki_covid.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 862ace6

Please sign in to comment.