Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-german committed Apr 11, 2024
1 parent 88b487c commit ad371dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ jobs:
- name: Upload built files
uses: actions/upload-artifact@v4
with:
name: blocks_mac.dmg
name: blocks.dmg
path: packaging/blocks.dmg
upload-to-s3:
needs: build
uses: ./.github/workflows/upload-to-s3.yml
secrets: inherit
with:
file-name: blocks_mac.dmg
file-name: blocks.dmg
final-file-name: blocks_mac.dmg
15 changes: 10 additions & 5 deletions .github/workflows/upload-to-s3.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Upload to S3
on:
on:
workflow_call:
inputs:
file-name:
inputs:
file-name:
required: true
type: string
final-file-name:
required: true
type: string
jobs:
Expand All @@ -13,8 +16,10 @@ jobs:
run: pwd
- name: Download build-output artifact
uses: actions/download-artifact@v4
- name: ls
run: ls
- name: Rename file
run: mv ${{ file-name }} ${{ final-file-name }}
- name: Delete old file
run: rm -f ${{ file-name }}
- name: zip
uses: montudor/action-zip@v1
with:
Expand Down

0 comments on commit ad371dd

Please sign in to comment.