Skip to content

Commit

Permalink
Upload iOS releases to GitHub (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
majd authored Jun 17, 2022
1 parent ec4b6cf commit a16afb5
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,42 @@ jobs:
runs-on: ubuntu-20.04
needs: [get_version, build_ios, build_macos]
steps:
- name: Download binary
- name: Download binary (macOS)
uses: actions/download-artifact@v2
with:
name: ipatool-macos-v${{ needs.get_version.outputs.version }}
path: ipatool-macos-v${{ needs.get_version.outputs.version }}
- name: Archive binary
- name: Archive binary (macOS)
run: |
mv ipatool-macos-v${{ needs.get_version.outputs.version }}/ipatool ipatool
zip ipatool-macos-v${{ needs.get_version.outputs.version }}.zip ipatool
- name: Upload binary to release
rm ipatool
- name: Upload release (macOS)
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ipatool-macos-v${{ needs.get_version.outputs.version }}.zip
asset_name: ipatool-macos-v${{ needs.get_version.outputs.version }}.zip
tag: ${{ github.ref }}
overwrite: false
- name: Download binary (iOS)
uses: actions/download-artifact@v2
with:
name: ipatool-ios-v${{ needs.get_version.outputs.version }}
path: ipatool-ios-v${{ needs.get_version.outputs.version }}
- name: Archive binary (iOS)
run: |
mv ipatool-ios-v${{ needs.get_version.outputs.version }}/ipatool ipatool
zip ipatool-ios-v${{ needs.get_version.outputs.version }}.zip ipatool
rm ipatool
- name: Upload release (iOS)
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ipatool-ios-v${{ needs.get_version.outputs.version }}.zip
asset_name: ipatool-ios-v${{ needs.get_version.outputs.version }}.zip
tag: ${{ github.ref }}
overwrite: false
- name: Checkout homebrew repo
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit a16afb5

Please sign in to comment.