Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: use release dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Dec 10, 2020
1 parent 961ea28 commit 4a45463
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 7 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Audit

on: [push]

jobs:
audit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1

- name: Cache node_modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ hashFiles('**/yarn.lock') }}
# - name: Audit dependencies
# run: yarn audit
23 changes: 23 additions & 0 deletions .github/workflows/exact-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Exact versions

on: [push]

jobs:
check-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1

- name: Cache node_modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install --ignore-scripts --ignore-optional

- name: Check exact versions
uses: ./.github/actions/check-version-lock
11 changes: 9 additions & 2 deletions .github/workflows/stacks-wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
status: STARTING
color: warning

# - name: Discord notification
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# uses: Ilshidur/action-discord@master
# with:
# args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.'

- uses: lucasmotta/pull-request-sticky-header@1.0.0
with:
header: '> _Currently building new release, please wait for the latest_&nbsp; <img src="https://user-images.githubusercontent.com/1618764/97873036-51dfb200-1d17-11eb-89f5-0a922dc3ac92.gif" width="12" />'
Expand Down Expand Up @@ -194,7 +201,7 @@ jobs:
- name: Download distributables
uses: actions/download-artifact@v2
with:
path: dist/
path: release/

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2.5.3
Expand All @@ -211,7 +218,7 @@ jobs:
@semantic-release/git
semantic-release-slack-bot
# Notify Slack channel of workflow end
# Notify Discord channel of workflow end
notify-end:
runs-on: ubuntu-latest
needs:
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@
{
"assets": [
{
"path": "dist/**/*.msi",
"path": "release/**/*.msi",
"label": "Windows distribution"
},
{
"path": "dist/**/*.dmg",
"path": "release/**/*.dmg",
"label": "OSX distribution"
},
{
"path": "dist/**/*.rpm",
"path": "release/**/*.rpm",
"label": "Linux distribution"
},
{
"path": "dist/**/*.deb",
"path": "release/**/*.deb",
"label": "Debian distribution"
}
]
Expand Down Expand Up @@ -340,4 +340,4 @@
"bliss"
]
}
}
}

0 comments on commit 4a45463

Please sign in to comment.