removing appveyor to stop the fork from sending the repo to be built. Testing a release
This commit is contained in:
parent
190fb423da
commit
92d4afb28d
|
@ -110,16 +110,17 @@ jobs:
|
|||
name: Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx
|
||||
path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx
|
||||
|
||||
#- name: Upload release assets
|
||||
# if: github.event_name == 'release'
|
||||
# run: |
|
||||
# hub release edit `
|
||||
# -a ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg `
|
||||
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
|
||||
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
|
||||
# -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
|
||||
# $env:RELEASE_TAG_NAME
|
||||
# shell: pwsh
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
- name: Upload release assets
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
hub release edit `
|
||||
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32.appx `
|
||||
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx `
|
||||
-a ./dist/Bitwarden-Portable-${{ env.PACKAGE_VERSION }}.exe `
|
||||
-a ./dist/nsis-web/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe `
|
||||
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
|
||||
$env:RELEASE_TAG_NAME
|
||||
shell: pwsh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
|
|
|
@ -1,16 +1,13 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches-ignore:
|
||||
# - 'l10n_master'
|
||||
# - 'gh-pages'
|
||||
# release:
|
||||
# types:
|
||||
# - published
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'l10n_master'
|
||||
- 'gh-pages'
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -214,22 +211,21 @@ jobs:
|
|||
# name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
|
||||
# path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
|
||||
|
||||
#- name: Upload release assets
|
||||
# if: github.event_name == 'release'
|
||||
# run: |
|
||||
# hub release edit `
|
||||
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
|
||||
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
|
||||
# -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
|
||||
# $env:RELEASE_TAG_NAME
|
||||
# shell: pwsh
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
# RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
- name: Upload release assets
|
||||
if: github.event_name == 'release'
|
||||
run: |
|
||||
hub release edit `
|
||||
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
|
||||
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
|
||||
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
|
||||
$env:RELEASE_TAG_NAME
|
||||
shell: pwsh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v1
|
||||
|
|
Loading…
Reference in New Issue