Skip to content

Commit 51471ec

Browse files
committed
Revert "updated the workflow to use the latest version of the actions/checkout action and ensure that the code is checked out correctly for each repository. (#1262)"
This reverts commit beeb737.
1 parent f0d0c4c commit 51471ec

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

.github/workflows/ci.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,44 @@ jobs:
77
steps:
88
- run: mkdir -p repos/undefx
99
- name: Checkout undefx/py3tester
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v2
1111
with:
1212
repository: undefx/py3tester
1313
path: repos/undefx/py3tester
1414
- name: Checkout undefx/undef-analysis
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v2
1616
with:
1717
repository: undefx/undef-analysis
1818
path: repos/undefx/undef-analysis
1919

2020
- run: mkdir -p repos/delphi
2121

2222
- name: Checkoutcmu-delphi/operations
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v2
2424
with:
2525
repository: cmu-delphi/operations
2626
path: repos/delphi/operations
2727
- name: Checkout cmu-delphi/utils
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v2
2929
with:
3030
repository: cmu-delphi/utils
3131
path: repos/delphi/utils
3232
- name: Checkout cmu-delphi/github-deploy-repo
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v2
3434
with:
3535
repository: cmu-delphi/github-deploy-repo
3636
path: repos/delphi/github-deploy-repo
3737
- name: Checkout THIS REPO
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v2
3939
with:
4040
path: repos/delphi/delphi-epidata
4141
- name: Checkout cmu-delphi/flu-contest
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v2
4343
with:
4444
repository: cmu-delphi/flu-contest
4545
path: repos/delphi/flu-contest
4646
- name: Checkout cmu-delphi/nowcast
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v2
4848
with:
4949
repository: cmu-delphi/nowcast
5050
path: repos/delphi/nowcast
@@ -98,7 +98,7 @@ jobs:
9898
working-directory: src/client/packaging/npm
9999
steps:
100100
- name: Checkout
101-
uses: actions/checkout@v3
101+
uses: actions/checkout@v2
102102
- uses: actions/setup-node@v2
103103
with:
104104
node-version: '14.x'
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ubuntu-latest
122122
steps:
123123
- name: Check out code
124-
uses: actions/checkout@v3
124+
uses: actions/checkout@v2
125125
- name: Login to GitHub Container Registry
126126
uses: docker/login-action@v1
127127
with:
@@ -141,8 +141,8 @@ jobs:
141141
if [ "$imageTag" = "main" ] ; then
142142
imageTag="latest"
143143
fi
144-
echo "tag=$imageTag" >> "$GITHUB_OUTPUT"
145-
echo "repo=ghcr.io/${{ github.repository }}" >> "$GITHUB_OUTPUT"
144+
echo "::set-output name=tag::$imageTag"
145+
echo "::set-output name=repo::ghcr.io/${{ github.repository }}"
146146
- name: Push Dev Tag
147147
run: |
148148
docker tag repo ${{ steps.tagname.outputs.repo }}:${{ steps.tagname.outputs.tag }}

.github/workflows/create-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v2
1717
with:
1818
ref: main
1919
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
@@ -22,14 +22,14 @@ jobs:
2222
git fetch origin dev:dev
2323
git reset --hard origin/dev
2424
- name: Set up Python 3.8
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v2
2626
with:
2727
python-version: 3.8
2828
- name: Change version number
2929
id: version
3030
run: |
3131
python -m pip install bump2version
32-
echo -n $next_tag >> $GITHUB_OUTPUT
32+
echo -n "::set-output name=next_tag::"
3333
bump2version --list ${{ github.event.inputs.versionName }} | grep new_version | sed -r s,"^.*=",,
3434
- name: Create pull request into prod
3535
uses: peter-evans/create-pull-request@v3

.github/workflows/missing_signals.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v2
1212
with:
1313
ref: dev
1414
- name: Set up Python 3.8
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v2
1616
with:
1717
python-version: 3.8
1818
- name: Install Dependencies

.github/workflows/release-helper.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v2
2222
with:
2323
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
2424
- name: Set up Python 3.8
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v2
2626
with:
2727
python-version: 3.8
2828
- name: Extract version
2929
id: extract_version
3030
run: |
3131
python -m pip install bump2version
32-
echo -n $version >> $GITHUB_OUTPUT
32+
echo -n "::set-output name=version::"
3333
bump2version --dry-run --list patch | grep ^current_version | sed -r s,"^.*=",,
3434
- name: Create Release
3535
id: create_release

.github/workflows/update_gdocs_data.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Check out code
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v2
1010
with:
1111
branch: dev
1212
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
1313
- name: Set up Python 3.8
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v2
1515
with:
1616
python-version: 3.8
1717
- uses: actions/cache@v2

0 commit comments

Comments
 (0)