From dbc93954106dd8dab8358b9cb03d700ed22863d5 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Wed, 16 Sep 2020 16:47:42 +1000 Subject: [PATCH] ci: continue test env --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc874de36..d6c7c6586 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,13 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set selected color - run: echo '::set-env name=SELECTED_COLOR::green' - - name: Get color (cmd) - shell: cmd - run: echo 'The selected color is' $SELECTED_COLOR + - name: Generate Package Name + id: vars + run: echo '::set-env name=PKGNAME::Olive-$(git rev-parse --short=8 ${{github.sha}})-Windows-x86_64' - - name: Get color (cmd 2) + - name: Test package name shell: cmd - run: echo 'The selected color is' %SELECTED_COLOR% + run: echo 'Package name is' %PKGNAME% - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory @@ -100,10 +98,6 @@ jobs: working-directory: ${{runner.workspace}}/build shell: cmd run: mkdir olive-editor && copy app\olive-editor.exe olive-editor && copy app\olive-editor.pdb olive-editor && windeployqt olive-editor\olive-editor.exe && copy %GITHUB_WORKSPACE%\bin\*.dll olive-editor && copy %GITHUB_WORKSPACE%\out\Default\crashpad_handler.exe olive-editor - - - name: Generate Package Name - id: vars - run: echo ::set-env name=PKGNAME::Olive-$(git rev-parse --short=8 ${{github.sha}})-Windows-x86_64 - name: Deploy Installer working-directory: ${{runner.workspace}}/build