Skip to content

Commit

Permalink
ci(fix): project rename and minor win signing change (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
leet4tari authored Sep 9, 2024
1 parent 087a5b4 commit 13e73c5
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 206 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: Build Matrix of Binaries
default: "esme"

env:
TS_FILENAME: "xtrgpuminer"
TS_FILENAME: "glytex"
TS_BUNDLE_ID_BASE: "com.tarilabs"
TS_SIG_FN: "sha256-unsigned.txt"
# TS_BUILD: "debug"
Expand Down Expand Up @@ -249,16 +249,18 @@ jobs:
--target ${{ matrix.builds.target }} \
--features "${{ matrix.builds.features }}" \
${{ matrix.builds.flags }} \
--bin xtrgpuminer
--bin ${{ env.TS_FILENAME }}
- name: Build release binaries
if: ${{ false }}
shell: bash
run: |
ls -alhtR target/${{ matrix.builds.target }}/${{ env.TS_BUILD }}/
- name: Sign files with Trusted Signing
if: startsWith(runner.os,'Windows')
- name: Sign Windows files with Trusted Certificate
if: ${{ ( startsWith(runner.os,'Windows') ) && ( env.AZURE_TENANT_ID != '' ) }}
env:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
uses: azure/trusted-signing-action@v0.4.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -281,7 +283,7 @@ jobs:
cd "$GITHUB_WORKSPACE/DIST"
echo "Copying files for ${{ env.BINFILE }} to $(pwd)"
ls -alht "$GITHUB_WORKSPACE/target/${{ matrix.builds.target }}/${{ env.TS_BUILD }}/"
cp -v $GITHUB_WORKSPACE/target/${{ matrix.builds.target }}/${{ env.TS_BUILD }}/xtrgpuminer${TS_EXT} .
cp -v $GITHUB_WORKSPACE/target/${{ matrix.builds.target }}/${{ env.TS_BUILD }}/${{ env.TS_FILENAME }}${TS_EXT} .
echo "Archive ${{ env.BINFILE }} too ${{ env.BINFILE }}.zip"
echo "Compute files shasum"
${SHARUN} * >> "${{ env.BINFILE }}.sha256"
Expand Down
Loading

0 comments on commit 13e73c5

Please sign in to comment.