Skip to content
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

Attach project binaries to releases for accessibility #274

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: [pull_request, push]
name: Build Pull Request Artifacts
on: [pull_request]
jobs:
build:
runs-on: windows-2022
Expand All @@ -26,13 +26,13 @@ jobs:
run: 7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -mhe=on -p"yug69gG89T98HGUY8y" al-khaser_x64.7z al-khaser_x64.exe

- name: Upload x86 Binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: x86
path: "al-khaser_x86.7z"

- name: Upload x64 Binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: x64
path: "al-khaser_x64.7z"
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Release Artifacts
on:
release:
types: [published]
jobs:
build:
runs-on: windows-2022

steps:
- uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1.3

- name: Restore NuGet packages
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Build x86
run: msbuild /m /p:Platform=x86 /p:Configuration=Release al-khaser.sln

- name: Build x64
run: msbuild /m /p:Platform=x64 /p:Configuration=Release al-khaser.sln

- name: Zip x86 Binaries
run: 7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -mhe=on -p"yug69gG89T98HGUY8y" al-khaser_x86.7z al-khaser_x86.exe

- name: Zip x64 Binaries
run: 7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -mhe=on -p"yug69gG89T98HGUY8y" al-khaser_x64.7z al-khaser_x64.exe

- name: Attach Binaries to release
uses: AButler/upload-release-assets@v3.0
with:
files: "al-khaser_x*.7z"
repo-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ It performs a bunch of common malware tricks with the goal of seeing if you stay

## Download

~~You can download the latest release here: [x86](https://github.com/LordNoteworthy/al-khaser/blob/master/al-khaser_x86.exe?raw=true) | [x64](https://github.com/LordNoteworthy/al-khaser/blob/master/al-khaser_x64.exe?raw=true).~~

**Sorry, binaries have been removed for now as they were triggering Google's Safe Browsing heuristics.**
You can download built binaries (x86, x64) from this project's [releases page](https://github.com/LordNoteworthy/al-khaser/releases). The password for the 7zs can be found [here](https://github.com/LordNoteworthy/al-khaser/blob/master/.github/workflows/release.yml#L25).


## Possible uses
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml

This file was deleted.

Loading