Skip to content

Commit

Permalink
Github Action Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj-Yadav committed Jul 9, 2024
1 parent 0ca086e commit 24c738a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/build.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,25 @@ inputs:
required: true
runs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/github-script@v6
shell: bash
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: cmake configure
shell: bash
run: |
export CMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake
cmake -B build -S .
- name: cmake build
shell: bash
run: cmake --build build --target package --config Release
- uses: actions/upload-artifact@v3
shell: bash
if: startsWith(github.ref, 'refs/tags/v')
with:
name: ${{ inputs.zip-output }}
path: build/comic_reader-*.zip


0 comments on commit 24c738a

Please sign in to comment.