Skip to content

Commit

Permalink
disable failing msi upload step (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd authored Nov 6, 2023
1 parent aae9010 commit 4bd27c3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,15 @@ jobs:
msi="$(basename "$ZIP_FILE" ".zip").msi"
printf "msi=${msi}" >> $GITHUB_OUTPUT
go-msi make --arch amd64 --msi "$PWD/$msi" --out "$PWD/build" --version "${GITHUB_REF#refs/tags/}"
-
name: Upload MSI
shell: bash
run: |
tag_name="${GITHUB_REF#refs/tags/}"
hub release edit "$tag_name" -m "" -a "$MSI_FILE"
release_url="$(gh api repos/:owner/:repo/releases -q ".[]|select(.tag_name==\"${tag_name}\")|.url")"
publish_args=( -F draft=false )
gh api -X PATCH "$release_url" "${publish_args[@]}"
env:
MSI_FILE: ${{ steps.buildmsi.outputs.msi }}
GITHUB_TOKEN: ${{ steps.vault.outputs.ROOT_TOKEN }}
# -
# name: Upload MSI
# shell: bash
# run: |
# tag_name="${GITHUB_REF#refs/tags/}"
# hub release edit "$tag_name" -m "" -a "$MSI_FILE"
# release_url="$(gh api repos/:owner/:repo/releases -q ".[]|select(.tag_name==\"${tag_name}\")|.url")"
# publish_args=( -F draft=false )
# gh api -X PATCH "$release_url" "${publish_args[@]}"
# env:
# MSI_FILE: ${{ steps.buildmsi.outputs.msi }}
# GITHUB_TOKEN: ${{ steps.vault.outputs.ROOT_TOKEN }}

0 comments on commit 4bd27c3

Please sign in to comment.