-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[CI] Replace set-output command with environment files"
This reverts commit 8814e5d.
- Loading branch information
1 parent
d3a809c
commit d64490e
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,17 +25,17 @@ jobs: | |
else | ||
VERSION=ci-latest-$(basename ${{ github.ref }}) | ||
fi | ||
echo "version=$VERSION" >> $GITHUB_ENV | ||
echo "##[set-output name=version;]$VERSION" | ||
- name: Build application | ||
run: | | ||
./packaging/win32/makeinstaller.sh i686 qt5 nodebug ${{ env.version }} | ||
./packaging/win32/makeinstaller.sh x86_64 qt5 nodebug ${{ env.version }} | ||
./packaging/win32/makeinstaller.sh x86_64 gtk nodebug ${{ env.version }} | ||
./packaging/win32/makeinstaller.sh i686 qt5 nodebug ${{ steps.version_number.outputs.version }} | ||
./packaging/win32/makeinstaller.sh x86_64 qt5 nodebug ${{ steps.version_number.outputs.version }} | ||
./packaging/win32/makeinstaller.sh x86_64 gtk nodebug ${{ steps.version_number.outputs.version }} | ||
- name: Reset ci-latest tag | ||
run: | | ||
VERSION=${{ env.version }} | ||
VERSION=${{ steps.version_number.outputs.version }} | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github CI" | ||
git config --global --add safe.directory /__w/gImageReader/gImageReader | ||
|
@@ -55,7 +55,7 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ env.version }} | ||
tag_name: ${{ steps.version_number.outputs.version }} | ||
release_name: CI Build | ||
draft: false | ||
prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }} | ||
|
@@ -66,7 +66,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw32-qt5/gImageReader_${{ env.version }}_qt5_i686_portable.zip | ||
asset_path: ./build/mingw32-qt5/gImageReader_${{ steps.version_number.outputs.version }}_qt5_i686_portable.zip | ||
asset_name: gImageReader_latest_qt5_i686_portable.zip | ||
asset_content_type: application/zip | ||
|
||
|
@@ -76,7 +76,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw32-qt5/gImageReader_${{ env.version }}_qt5_i686.exe | ||
asset_path: ./build/mingw32-qt5/gImageReader_${{ steps.version_number.outputs.version }}_qt5_i686.exe | ||
asset_name: gImageReader_latest_qt5_i686.exe | ||
asset_content_type: application/x-dosexec | ||
|
||
|
@@ -86,7 +86,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw64-qt5/gImageReader_${{ env.version }}_qt5_x86_64_portable.zip | ||
asset_path: ./build/mingw64-qt5/gImageReader_${{ steps.version_number.outputs.version }}_qt5_x86_64_portable.zip | ||
asset_name: gImageReader_latest_qt5_x86_64_portable.zip | ||
asset_content_type: application/zip | ||
|
||
|
@@ -96,7 +96,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw64-qt5/gImageReader_${{ env.version }}_qt5_x86_64.exe | ||
asset_path: ./build/mingw64-qt5/gImageReader_${{ steps.version_number.outputs.version }}_qt5_x86_64.exe | ||
asset_name: gImageReader_latest_qt5_x86_64.exe | ||
asset_content_type: application/x-dosexec | ||
|
||
|
@@ -106,7 +106,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw64-gtk/gImageReader_${{ env.version }}_gtk_x86_64_portable.zip | ||
asset_path: ./build/mingw64-gtk/gImageReader_${{ steps.version_number.outputs.version }}_gtk_x86_64_portable.zip | ||
asset_name: gImageReader_latest_gtk_x86_64_portable.zip | ||
asset_content_type: application/zip | ||
|
||
|
@@ -116,6 +116,6 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./build/mingw64-gtk/gImageReader_${{ env.version }}_gtk_x86_64.exe | ||
asset_path: ./build/mingw64-gtk/gImageReader_${{ steps.version_number.outputs.version }}_gtk_x86_64.exe | ||
asset_name: gImageReader_latest_gtk_x86_64.exe | ||
asset_content_type: application/x-dosexec |