Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
OKendigelyan authored and ajinkyaraj-23 committed Nov 22, 2024
1 parent 33aac64 commit c4c4939
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ on:
jobs:
create-draft-release:
runs-on: ubuntu-latest
environment: "Production – umami-v2"
permissions:
contents: write
issues: write
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Create Draft Release for ${{ github.ref_name }}
env:
GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
run: gh release create ${{ github.ref_name }} --draft --title "${{ github.ref_name }}" --generate-notes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

create-release-linux:
runs-on: ubuntu-latest
needs: create-draft-release
permissions:
contents: write
environment: "Production – umami-v2"
steps:
- name: Check out code
Expand All @@ -44,31 +50,37 @@ jobs:
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ env.GPG_PRIVATE_KEY }}
passphrase: ${{ env.GPG_PASSPHRASE }}
fingerprint: ${{env.GPG_KEY_ID }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
fingerprint: ${{ secrets.GPG_KEY_ID }}
git_user_signingkey: true

- name: Generate deb and rpm files
working-directory: apps/desktop
env:
GH_TOKEN: ${{ secrets.GITUHB_TOKEN }}
run: pnpm run electron:package:linux

- name: Sign the deb and rpm files using dpkg-sig and rpm-sign
working-directory: apps/desktop
run: |
sudo apt install -y dpkg-sig
dpkg-sig --sign builder -k ${{ env.GPG_KEY_ID }} ./dist/*.deb
dpkg-sig --sign builder -k ${{ secrets.GPG_KEY_ID }} ./dist/*.deb
echo "%_gpg_name ${{ secrets.GPG_KEY_ID }}" > ~/.rpmmacros
rpm --addsign ./dist/*.rpm
- name: Upload deb and rpm files
working-directory: apps/desktop
env:
GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.ref_name }} ./dist/*.deb ./dist/*.rpm

create-release-mac:
runs-on: macos-latest
needs: create-draft-release
environment: "Production – umami-v2"
permissions:
contents: write
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -93,7 +105,7 @@ jobs:
working-directory: apps/desktop
env:
CI: true
GH_TOKEN: ${{ secrets.PERSONAL_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
Expand Down

2 comments on commit c4c4939

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title Lines Statements Branches Functions
apps/desktop Coverage: 84%
83.88% (1764/2103) 79.35% (838/1056) 78.45% (448/571)
apps/web Coverage: 84%
83.88% (1764/2103) 79.35% (838/1056) 78.45% (448/571)
packages/components Coverage: 97%
97.84% (182/186) 96.51% (83/86) 87.03% (47/54)
packages/core Coverage: 81%
81.91% (222/271) 71.22% (99/139) 81.96% (50/61)
packages/crypto Coverage: 100%
100% (43/43) 90.9% (10/11) 100% (7/7)
packages/data-polling Coverage: 97%
95.27% (141/148) 87.5% (21/24) 92.85% (39/42)
packages/multisig Coverage: 98%
98.47% (129/131) 85.71% (18/21) 100% (36/36)
packages/social-auth Coverage: 100%
100% (21/21) 100% (11/11) 100% (3/3)
packages/state Coverage: 85%
84.73% (805/950) 80.63% (179/222) 78.89% (299/379)
packages/tezos Coverage: 89%
88.72% (118/133) 94.59% (35/37) 86.84% (33/38)
packages/tzkt Coverage: 89%
87.32% (62/71) 87.5% (14/16) 80.48% (33/41)

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title Lines Statements Branches Functions
apps/desktop Coverage: 84%
83.88% (1764/2103) 79.35% (838/1056) 78.45% (448/571)
apps/web Coverage: 84%
83.88% (1764/2103) 79.35% (838/1056) 78.45% (448/571)
packages/components Coverage: 97%
97.84% (182/186) 96.51% (83/86) 87.03% (47/54)
packages/core Coverage: 81%
81.91% (222/271) 71.22% (99/139) 81.96% (50/61)
packages/crypto Coverage: 100%
100% (43/43) 90.9% (10/11) 100% (7/7)
packages/data-polling Coverage: 97%
95.27% (141/148) 87.5% (21/24) 92.85% (39/42)
packages/multisig Coverage: 98%
98.47% (129/131) 85.71% (18/21) 100% (36/36)
packages/social-auth Coverage: 100%
100% (21/21) 100% (11/11) 100% (3/3)
packages/state Coverage: 85%
84.73% (805/950) 80.63% (179/222) 78.89% (299/379)
packages/tezos Coverage: 89%
88.72% (118/133) 94.59% (35/37) 86.84% (33/38)
packages/tzkt Coverage: 89%
87.32% (62/71) 87.5% (14/16) 80.48% (33/41)

Please sign in to comment.