Trying to fix Github actions 7.
This commit is contained in:
parent
e7d8f30fe9
commit
8a69d938f7
1 changed files with 20 additions and 20 deletions
|
@ -25,23 +25,23 @@ if not "%USE_WGET%" == "" (
|
||||||
set DOWNLOAD_CMD="curl --retry 10 -sS -kLOC -"
|
set DOWNLOAD_CMD="curl --retry 10 -sS -kLOC -"
|
||||||
)
|
)
|
||||||
|
|
||||||
set upload=
|
REM set upload=
|
||||||
if not "%DAILY_BUILD%" == "" set upload=true
|
REM if not "%DAILY_BUILD%" == "" set upload=true
|
||||||
if not "%RELEASE_BUILD%" == "" set upluad=true
|
REM if not "%RELEASE_BUILD%" == "" set upluad=true
|
||||||
if "%upload%" == "true" (
|
REM if "%upload%" == "true" (
|
||||||
REM Upload to Github Releases
|
REM REM Upload to Github Releases
|
||||||
set hub=hub-windows-amd64-%GITHUB_HUBVER%
|
REM set hub=hub-windows-amd64-%GITHUB_HUBVER%
|
||||||
|
REM
|
||||||
cd "%SOURCES_DIR%"
|
REM cd "%SOURCES_DIR%"
|
||||||
%DOWNLOAD_CMD% "https://github.com/github/hub/releases/download/v%GITHUB_HUBVER%/%hub%.zip"
|
REM %DOWNLOAD_CMD% "https://github.com/github/hub/releases/download/v%GITHUB_HUBVER%/%hub%.zip"
|
||||||
unzip "%hub%.zip"
|
REM unzip "%hub%.zip"
|
||||||
mkdir .local
|
REM mkdir .local
|
||||||
xcopy "%hub%"\* .local /i /y
|
REM xcopy "%hub%"\* .local /i /y
|
||||||
|
REM
|
||||||
set PATH=%cd%/.local/bin;%PATH%
|
REM set PATH=%cd%/.local/bin;%PATH%
|
||||||
set path=webcamoid-packages
|
REM set path=webcamoid-packages
|
||||||
|
REM
|
||||||
for %%f in (%path%\*) do (
|
REM for %%f in (%path%\*) do (
|
||||||
hub release edit -m "Daily Build" -a %%f daily-build
|
REM hub release edit -m "Daily Build" -a %%f daily-build
|
||||||
)
|
REM )
|
||||||
)
|
REM )
|
||||||
|
|
Loading…
Reference in a new issue