Skip to content

Commit

Permalink
Try to upload nightly .dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGandalf committed Oct 22, 2023
1 parent 8bf47fd commit dab7ab2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,21 @@ jobs:
with:
name: ${{ env.dmg_name }}
path: ${{ env.dmg_name }}.dmg

- name: Prepare for nightly
shell: bash
run: |
echo '{"bin": "${{ env.dmg_name }}.dmg", "size":' $(wc -c <"${{ env.dmg_name }}.dmg") '}' > latest-macos
- name: Upload to nightly
if: ${{ github.repository == 'kvirc/KVIrc' && github.event_name == 'push' }}
uses: Dylan700/sftp-upload-action@latest
with:
server: nightly.kvirc.net
username: ${{secrets.NIGHTLY_SFTP_USER}}
key: ${{secrets.NIGHTLY_SFTP_KEY}}
uploads: uploads: |
. => ./x/
ignore: |
!*.dmg
!latest-macos

0 comments on commit dab7ab2

Please sign in to comment.