Skip to content

Commit

Permalink
github action: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Oct 5, 2023
1 parent 5af7ebe commit 3c6e9f5
Showing 1 changed file with 43 additions and 11 deletions.
54 changes: 43 additions & 11 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,59 @@ jobs:
wine msiexec /i wine-mono-5.0.0-x86.msi
# -- Build For windows!!
- name: Build Microsoft Windows package
run: |
export DISPLAY=:0.0
npm run buildWindows
echo "====> DEBUG: Contents of the dist folder..."
ls -l dist
# - name: Build Microsoft Windows package
# run: |
# export DISPLAY=:0.0
# npm run buildWindows
# echo "====> DEBUG: Contents of the dist folder..."
# ls -l dist


#-- Test
- name: TEST. Generate test files
run: echo "Hola1" > Test1.txt
run: echo "Hola2" > Test2.txt

#-- Create the Release (draft)
- name: Create the Stable Release
id: create_release
uses: ncipollo/release-action@v1
uses: softprops/action-gh-release@v1
env:
VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
prerelease: false
tag_name: v${{ env.VERSION }}
files: Test1.txt
#files: "dist/icestudio-${{env.VERSION}}-win64.exe"

- name: Upload Test files
uses: softprops/action-gh-release@v1
env:
VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: v${{ env.VERSION }}
name: v${{ env.VERSION }}
body: |
A new stable release
draft: true
prerelease: false
tag_name: v${{ env.VERSION }}
files: Test2.txt
#files: "dist/icestudio-${{env.VERSION}}-win64.exe"


# - name: Create the Stable Release
# id: create_release
# uses: ncipollo/release-action@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
# with:
# tag: v${{ env.VERSION }}
# name: v${{ env.VERSION }}
# body: |
# A new stable release
# draft: true
# prerelease: false

# ---------------------------------------
# -- Upload the Windows binaries to the release
Expand Down

0 comments on commit 3c6e9f5

Please sign in to comment.