mirror of
https://github.com/bitwarden/browser
synced 2025-01-20 16:31:15 +01:00
Merge pull request #1691 from bitwarden/fix-empty-source-release-asset
fixes the release asset
This commit is contained in:
commit
93f577b9a0
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -93,11 +93,17 @@ jobs:
|
|||||||
- name: gulp
|
- name: gulp
|
||||||
run: gulp ci
|
run: gulp ci
|
||||||
|
|
||||||
|
- name: make source directory
|
||||||
|
run: mkdir dist/Source
|
||||||
|
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: 'dist/Source'
|
||||||
|
|
||||||
- name: Build sources for reviewers
|
- name: Build sources for reviewers
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
mkdir dist\Source
|
|
||||||
call git clone --branch=%GITHUB_REF% %REPO_URL% dist\Source
|
|
||||||
cd dist\Source
|
cd dist\Source
|
||||||
call git checkout %GITHUB_SHA%
|
call git checkout %GITHUB_SHA%
|
||||||
call git submodule update --init --recursive
|
call git submodule update --init --recursive
|
||||||
@ -105,7 +111,7 @@ jobs:
|
|||||||
del /S/Q "Source\.git\objects\pack\*"
|
del /S/Q "Source\.git\objects\pack\*"
|
||||||
call 7z a browser-source-%BUILD_NUMBER%.zip "Source\*"
|
call 7z a browser-source-%BUILD_NUMBER%.zip "Source\*"
|
||||||
|
|
||||||
- name: Upload opera release asset
|
- name: upload opera release asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user