Skip to content

Commit

Permalink
fix wrong path for built packages
Browse files Browse the repository at this point in the history
  • Loading branch information
haxibami committed Sep 19, 2024
1 parent c0d91ea commit a5e6cc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .github/RELEASE_TEMPLATE/Release.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ jobs:
if: inputs.deploy_target == 'sideloaded' || inputs.deploy_target == 'trollstore'
run: |
# Rename the package based on the version
mv "packages/$(ls -t packages | head -n1)" \
"packages/BHTwitter-${{ inputs.deploy_target }}_${{ env.X_VERSION }}_${{ env.BHTWITTER_VERSION }}.${IPA_EXT}"
mv "main/packages/$(ls -t main/packages | head -n1)" \
"main/packages/BHTwitter-${{ inputs.deploy_target }}_${{ env.X_VERSION }}_${{ env.BHTWITTER_VERSION }}.${IPA_EXT}"
env:
IPA_EXT: ${{ inputs.deploy_target == 'trollstore' && 'tipa' || 'ipa' }}

- name: Pass package name
id: package_name
run: |
# Pass package name to the upload step
echo "package=$(ls -t packages | head -n1)" >> "$GITHUB_OUTPUT"
echo "package=$(ls -t main/packages | head -n1)" >> "$GITHUB_OUTPUT"
- name: Upload Artifact
if: ${{ inputs.upload_artifact }}
Expand Down

0 comments on commit a5e6cc2

Please sign in to comment.