From dfe478b15423acb69c9ddac2a817da9ccdd48dba Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sun, 6 Feb 2022 18:20:09 +0100 Subject: [PATCH] upload snapshot to sourceforge --- .github/workflows/snapshot-on-push-master.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/snapshot-on-push-master.yml b/.github/workflows/snapshot-on-push-master.yml index 442adc160..83f311568 100644 --- a/.github/workflows/snapshot-on-push-master.yml +++ b/.github/workflows/snapshot-on-push-master.yml @@ -73,24 +73,35 @@ jobs: make -C src clean make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=x86_64-w64-mingw32- make zip - mv cc65.zip cc65-win64.zip + mv cc65.zip cc65-snapshot-win64.zip - name: Build and package 32-bit Windows versions of the tools. run: | make -C src clean make -j2 bin USER_CFLAGS=-Werror CROSS_COMPILE=i686-w64-mingw32- make zip - mv cc65.zip cc65-win32.zip + mv cc65.zip cc65-snapshot-win32.zip - name: Upload a 32-bit Snapshot Zip uses: actions/upload-artifact@v2 with: name: cc65-snapshot-win32.zip - path: cc65-win32.zip + path: cc65-snapshot-win32.zip - name: Upload a 64-bit Snapshot Zip uses: actions/upload-artifact@v2 with: name: cc65-snapshot-win64.zip - path: cc65-win64.zip + path: cc65-snapshot-win64.zip + # enter secrets under "repository secrets" + - name: Upload snapshot to sourceforge + uses: nogsantos/scp-deploy@master + with: + src: cc65-snapshot-win32.zip + host: ${{ secrets.SSH_HOST }} + remote: ${{ secrets.SSH_DIR }} + port: ${{ secrets.SSH_PORT }} + user: ${{ secrets.SSH_USER }} + key: ${{ secrets.SSH_KEY }} + # TODO: Update docs at https://github.com/cc65/doc # TODO: Publish snapshot zip at https://github.com/cc65/cc65.github.io