Commit 49bf3d46 authored by Chad Austin's avatar Chad Austin Committed by Facebook GitHub Bot

update to checkout@v2

Summary:
checkout@v2 is the current action version, and the old one may have
security issues. Let's just run with the latest version.

Reviewed By: ahornby

Differential Revision: D33834847

fbshipit-source-id: fba0733577bf23c208c9824aa3815bd01a813d9a
parent 6a80f70a
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Fetch boost - name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch ninja - name: Fetch ninja
......
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
build: build:
runs-on: macOS-latest runs-on: macOS-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Fetch boost - name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch openssl - name: Fetch openssl
......
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
build: build:
runs-on: windows-2016 runs-on: windows-2016
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Export boost environment - name: Export boost environment
run: "echo BOOST_ROOT=%BOOST_ROOT_1_69_0% >> %GITHUB_ENV%" run: "echo BOOST_ROOT=%BOOST_ROOT_1_69_0% >> %GITHUB_ENV%"
shell: cmd shell: cmd
......
...@@ -934,7 +934,7 @@ jobs: ...@@ -934,7 +934,7 @@ jobs:
out.write(" build:\n") out.write(" build:\n")
out.write(" runs-on: %s\n" % runs_on) out.write(" runs-on: %s\n" % runs_on)
out.write(" steps:\n") out.write(" steps:\n")
out.write(" - uses: actions/checkout@v1\n") out.write(" - uses: actions/checkout@v2\n")
if build_opts.is_windows(): if build_opts.is_windows():
# cmake relies on BOOST_ROOT but GH deliberately don't set it in order # cmake relies on BOOST_ROOT but GH deliberately don't set it in order
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment