Skip to content

Commit

Permalink
[gha] debug gh again
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Dec 4, 2024
1 parent 5c7a0dd commit 42f50d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,13 @@ jobs:
echo "🔍 Verifying artifact: ${{ env.LINUX_ARTIFACT }}"
pwd
ls
if [ ! -f "./${{ env.LINUX_ARTIFACT }}" ]; then
if [ ! -f "./build/${{ env.LINUX_ARTIFACT }}" ]; then
echo "❌ Error: Artifact not found!"
exit 1
fi
echo "📤 Uploading artifact to GitHub release..."
gh release upload continuous "./${{ env.LINUX_ARTIFACT }}" --repo "${{ github.repository }}" \
gh release upload continuous "./build/${{ env.LINUX_ARTIFACT }}" --repo "${{ github.repository }}" \
--clobber --title "${{ env.APP_NAME }} ${env.VERSION}" --content-type application/octet-stream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 325 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

325:52 [trailing-spaces] trailing spaces
Expand Down Expand Up @@ -508,13 +508,13 @@ jobs:
echo "🔍 Verifying artifact: ${{ env.MAC_ARTIFACT }}"
pwd
ls
if [ ! -f "./${{ env.MAC_ARTIFACT }}" ]; then
if [ ! -f "./build/${{ env.MAC_ARTIFACT }}" ]; then
echo "❌ Error: Artifact not found!"
exit 1
fi
echo "📤 Uploading artifact to GitHub release..."
gh release upload continuous "./${{ env.MAC_ARTIFACT }}" --repo "${{ github.repository }}" \
gh release upload continuous "./build/${{ env.MAC_ARTIFACT }}" --repo "${{ github.repository }}" \
--clobber --title "${{ env.APP_NAME }} ${env.VERSION}" --content-type application/octet-stream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -587,7 +587,7 @@ jobs:

echo "Updating RELEASEFOLDER in innosetup.iss with ${{env.CMAKE_CONFIG}}..."
$config = "${{env.CMAKE_CONFIG}}"
(Get-Content innosetup.iss) -replace '#define RELEASEFOLDER "release\\\\"', "#define RELEASEFOLDER `"$config\\\\"`" | Set-Content innosetup.iss
(Get-Content innosetup.iss) -replace '#define RELEASEFOLDER "release\\\\"', "#define RELEASEFOLDER \"$config\\\"" | Set-Content innosetup.iss

Check warning on line 590 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

590:151 [line-length] line too long (151 > 150 characters)
echo "Updated innosetup.iss:"
type build\innosetup.iss

Check failure on line 593 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

593:1 [trailing-spaces] trailing spaces
Expand Down

0 comments on commit 42f50d1

Please sign in to comment.