Skip to content

Commit

Permalink
chore: change @master to @main in brown-ccv/gh-actions paths
Browse files Browse the repository at this point in the history
  • Loading branch information
wasita mahaphanit committed Nov 16, 2020
1 parent 1381a6e commit 6a6d96c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/build_at_home.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build at home version (Windows)
on:
pull_request:
paths:
- 'src/**'
- '.github/workflows/main.yml'
- "src/**"
- ".github/workflows/main.yml"

jobs:
build:
Expand All @@ -13,34 +13,34 @@ jobs:
strategy:
fail-fast: false
steps:
# Set up js package
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Set package version and name
uses: brown-ccv/gh-actions/get-package-info@master
id: package_info
# Set up js package
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Set package version and name
uses: brown-ccv/gh-actions/get-package-info@main
id: package_info

# install, test, build package
- name: npm install
run: npm install
- name: npm build:win:home
run: npm run build
- name: npm test
run: npm test
env:
CI: true
REACT_APP_AT_HOME: true
# install, test, build package
- name: npm install
run: npm install
- name: npm build:win:home
run: npm run build
- name: npm test
run: npm test
env:
CI: true
REACT_APP_AT_HOME: true

# Build electron app package installers
- name: package electron - windows
run: npm run package:windows
# Build electron app package installers
- name: package electron - windows
run: npm run package:windows

# Upload installers to github action
- name: upload win-installer-home
uses: actions/upload-artifact@master
with:
name: win-installer-home
path: dist/installers/${{ steps.package_info.outputs.package_name }}-${{ steps.package_info.outputs.package_version }}-setup.exe
# Upload installers to github action
- name: upload win-installer-home
uses: actions/upload-artifact@master
with:
name: win-installer-home
path: dist/installers/${{ steps.package_info.outputs.package_name }}-${{ steps.package_info.outputs.package_version }}-setup.exe
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
node-version: 12.x
- name: Set package version and name
uses: brown-ccv/gh-actions/get-package-info@master
uses: brown-ccv/gh-actions/get-package-info@main
id: package_info

# install, test, build package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
node-version: 12.x
- name: Set package version and name
uses: brown-ccv/gh-actions/get-package-info@master
uses: brown-ccv/gh-actions/get-package-info@main
id: package_info

# install, test, build package
Expand Down

0 comments on commit 6a6d96c

Please sign in to comment.