Skip to content

Commit

Permalink
github action windows: Fix an error with set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Feb 17, 2023
1 parent 2a75e79 commit 8924a61
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-windows-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
- name: 'Upload MSI/win64'
env:
ICESTUDIO_VERSION:"${{steps.icestudio_json.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.icestudio_timestamp}}"
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
with:
name: "win64_MSI_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
Expand All @@ -78,8 +78,8 @@ jobs:

- name: 'Upload ZIP/win64'
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.icestudio_timestamp}}"
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
with:
name: "win64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
- name: 'Upload ZIP/Aarch64'
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.icestudio_timestamp}}"
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
with:
name: "Aarch64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
- name: 'Upload MSI/win64'
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.icestudio_timestamp}}"
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
with:
name: "win64_MSI_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
Expand All @@ -80,8 +80,8 @@ jobs:

- name: 'Upload ZIP/win64'
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.icestudio_timestamp}}"
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
with:
name: "win64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Icestudio fot Linux'
name: 'Icestudio for Linux'

# Controls when the action will run.
on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
# -- It is read from the package.json
- name: Get the Icestudio version
env:
VERSION: "${{steps.icestudio_json.icestudio_version}}"
VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
run: |
echo "VERSION: ${{ env.VERSION }}"
Expand All @@ -267,7 +267,7 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: "${{steps.icestudio_json.icestudio_version}}"
VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
with:
upload_url: ${{ needs.build-LinWin.outputs.upload_url }}
asset_path: "dist/icestudio-${{env.VERSION}}-aarch64.zip"
Expand Down

0 comments on commit 8924a61

Please sign in to comment.