Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMilarky authored Sep 18, 2024
1 parent 1a11a12 commit 9d609ee
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,34 @@ jobs:
run: npm run dist
- name: Display structure of files
run: ls -R
- name: Upload MacOS DMG Blockmap
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap
path: |
./frontend/dist/DedupliFHIR-*-arm64.dmg.blockmap
- name: Upload MacOS DMG
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg
path: |
./frontend/dist/DedupliFHIR-*-arm64.dmg
- name: Upload MacOS Zip
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip
path: |
./frontend/dist/DedupliFHIR-*-arm64-mac.zip
- name: Upload MacOS Zip Blockmap
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap
path: |
./frontend/dist/DedupliFHIR-*-arm64-mac.zip.blockmap
- name: Upload AppImage
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -120,6 +148,22 @@ jobs:
uses: actions/download-artifact@v4
with:
name: DedupliFHIR-${{ github.ref_name }}.snap
- name: Download DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap artifact
uses: actions/download-artifact@v4
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap
- name: Download DedupliFHIR-${{ github.ref_name }}-arm64.dmg artifact
uses: actions/download-artifact@v4
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg
- name: Download DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip artifact
uses: actions/download-artifact@v4
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip
- name: Download DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap artifact
uses: actions/download-artifact@v4
with:
name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap
- name: Display structure of downloaded files
run: ls -R
- name: Upload DedupliFHIR-${{ github.ref_name }}.AppImage to release
Expand All @@ -136,3 +180,32 @@ jobs:
tag: ${{ github.ref_name }}
file: deduplifhir-app_${{ github.ref_name }}_amd64.snap
overwrite: false
- name: Upload DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap to release
uses: svenstaro/upload-release-action@2.5.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap
overwrite: false
- name: Upload DedupliFHIR-${{ github.ref_name }}-arm64.dmg to release
uses: svenstaro/upload-release-action@2.5.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: DedupliFHIR-${{ github.ref_name }}-arm64.dmg
overwrite: false
- name: Upload DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip to release
uses: svenstaro/upload-release-action@2.5.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip
overwrite: false

- name: Upload DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap to release
uses: svenstaro/upload-release-action@2.5.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
file: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap
overwrite: false

0 comments on commit 9d609ee

Please sign in to comment.