-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Add otp_win.zip to releases #8729
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -271,7 +271,7 @@ jobs: | |
distribution: Ubuntu-18.04 | ||
|
||
- name: Install WSL dependencies | ||
run: apt update && apt install -y g++-mingw-w64 gcc-mingw-w64 make autoconf unzip | ||
run: apt update && apt install -y g++-mingw-w64 gcc-mingw-w64 make autoconf zip unzip | ||
|
||
- name: Install openssl | ||
shell: cmd | ||
|
@@ -355,6 +355,17 @@ jobs: | |
name: otp_win32_installer | ||
path: otp/release/win32/otp*.exe | ||
|
||
- name: Build zip | ||
run: | | ||
rm -rf otp/release/win32/otp*.exe | ||
(cd otp/release/win32 && zip -r ../../../otp_win.zip .) | ||
|
||
- name: Upload zip | ||
uses: actions/[email protected] | ||
with: | ||
name: otp_win | ||
path: otp_win.zip | ||
|
||
build-flavors: | ||
name: Build Erlang/OTP (Types and Flavors) | ||
runs-on: ubuntu-latest | ||
|
@@ -599,6 +610,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: otp_prebuilt | ||
|
||
- name: Download html docs | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -614,7 +626,7 @@ jobs: | |
run: | | ||
shopt -s nullglob | ||
cd artifacts | ||
FILES=$(ls {*.tar.gz,*.txt}) | ||
FILES=$(ls {*.tar.gz,*.zip,*.txt}) | ||
md5sum $FILES > MD5.txt | ||
sha256sum $FILES > SHA256.txt | ||
|
||
|
@@ -624,6 +636,7 @@ jobs: | |
name: OTP ${{ steps.tag.outputs.vsn }} | ||
files: | | ||
artifacts/*.tar.gz | ||
artifacts/*.zip | ||
artifacts/*.txt | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at the moment the .zip is not yet included in the release, I'm not sure how .exe ends up here. I assume it's via some
actions/download-artifact
but I couldn't figure it out. Any help would be appreciated.