Skip to content

Commit

Permalink
Some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Dec 19, 2024
1 parent 0527704 commit f39ed36
Show file tree
Hide file tree
Showing 7 changed files with 298 additions and 263 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Build
run: msbuild /p:Configuration=Release

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: kelftool-windows
path: Release/kelftool.exe
Expand All @@ -34,14 +34,12 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- run: brew install openssl

- name: Build
run: |
make
tar -zcvf kelftool-macos.tar.gz build/kelftool
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: kelftool-macos
path: kelftool-macos.tar.gz
Expand All @@ -61,7 +59,7 @@ jobs:
make
tar -zcvf kelftool-linux.tar.gz build/kelftool
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: kelftool-linux
path: kelftool-linux.tar.gz
Expand All @@ -76,21 +74,21 @@ jobs:
- name: Get short SHA and repository name
id: slug
run: |
echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
echo "::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")"
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV
echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")" >> $GITHUB_ENV
- name: Download kelftool-windows artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: kelftool-windows

- name: Download kelftool-macos artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: kelftool-macos

- name: Download kelftool-linux artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: kelftool-linux

Expand Down
2 changes: 1 addition & 1 deletion kelftool.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
Loading

0 comments on commit f39ed36

Please sign in to comment.