Skip to content

Commit

Permalink
use github.workspace in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
NecroKote committed Jan 24, 2024
1 parent bede8f8 commit 3cabd22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

- name: Zip xiaomi_cloud_map_extractor dir
run: |
cd /home/runner/work/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/custom_components/xiaomi_cloud_map_extractor
cd ${{ github.workspace }}/custom_components/xiaomi_cloud_map_extractor
zip xiaomi_cloud_map_extractor.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/custom_components/xiaomi_cloud_map_extractor/xiaomi_cloud_map_extractor.zip
file: ${{ github.workspace }}/custom_components/xiaomi_cloud_map_extractor/xiaomi_cloud_map_extractor.zip
asset_name: xiaomi_cloud_map_extractor.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 3cabd22

Please sign in to comment.