File tree Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Tags"
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ tags :
9+ name : " Tags"
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ timeout-minutes : 5
14+
15+ steps :
16+ - name : " Update Tags"
17+ uses : cssnr/update-version-tags-action@v1
18+ with :
19+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Setup Vcpkg Action
2+
3+ GitHub Action to set up vcpkg tool in your GitHub Actions workflows.
4+ It does not checkout a registry.
5+
6+ ## Usage
7+
8+ ``` yaml
9+ steps :
10+ - uses : open-vcpkg/setup-vcpkg@v1
11+ ` ` `
12+
13+ ## Outputs
14+
15+ Sets the following environment variables:
16+ - ` VCPKG_ROOT`: Path to vcpkg installation
Original file line number Diff line number Diff line change 1+ name : ' Setup Vcpkg'
2+ description : ' Initialize vcpkg tool, does not checkout the registry'
3+ author : ' Matthias Kuhn'
4+
5+ runs :
6+ using : composite
7+ steps :
8+ - name : Setup vcpkg
9+ if : runner.os != 'Windows'
10+ shell : bash
11+ run : |
12+ export VCPKG_ROOT=$HOME/.vcpkg
13+ wget https://aka.ms/vcpkg-init.sh -O /tmp/vcpkg-init.sh
14+ . /tmp/vcpkg-init.sh
15+ echo "VCPKG_ROOT=$VCPKG_ROOT" >> $GITHUB_ENV
16+ echo "$VCPKG_ROOT" >> $GITHUB_PATH
17+
18+ - name : Setup vcpkg
19+ if : runner.os == 'Windows'
20+ shell : powershell
21+ run : |
22+ $env:VCPKG_ROOT = "C:/.vcpkg"
23+ iex (iwr -useb https://aka.ms/vcpkg-init.ps1)
24+ echo "VCPKG_ROOT=$env:VCPKG_ROOT" >> $env:GITHUB_ENV
25+ echo "$env:VCPKG_ROOT" >> $env:GITHUB_PATH
You can’t perform that action at this time.
0 commit comments