Skip to content

Commit

Permalink
fix appimage action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Janjic committed Dec 10, 2024
1 parent eac802c commit 64963a7
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,23 +324,23 @@ jobs:
with:
recipe: ./AppImageBuilder.yml

- name: Find AppImage file
id: find_appimage
run: |
APPIMAGE_PATH=$(find . -name "*.AppImage" -print -quit)
echo "appimage_path=$APPIMAGE_PATH" >> $GITHUB_OUTPUT
echo "appimage_name=$(basename "$APPIMAGE_PATH")" >> $GITHUB_OUTPUT

- name: Upload AppImage to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }} # Preuzima upload_url iz create_release joba
asset_path: ${{ steps.find_appimage.outputs.appimage_path }}
asset_name: ${{ steps.find_appimage.outputs.appimage_name }}
asset_content_type: application/octet-stream # MIME tip za AppImage
# - name: Find AppImage file
# id: find_appimage
# run: |
# APPIMAGE_PATH=$(find . -name "*.AppImage" -print -quit)
# echo "appimage_path=$APPIMAGE_PATH" >> $GITHUB_OUTPUT
# echo "appimage_name=$(basename "$APPIMAGE_PATH")" >> $GITHUB_OUTPUT
#
#
# - name: Upload AppImage to release
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ needs.create_release.outputs.upload_url }} # Preuzima upload_url iz create_release joba
# asset_path: ${{ steps.find_appimage.outputs.appimage_path }}
# asset_name: ${{ steps.find_appimage.outputs.appimage_name }}
# asset_content_type: application/octet-stream # MIME tip za AppImage

# build-apk:
# name: Build APK
Expand Down

0 comments on commit 64963a7

Please sign in to comment.