Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 1fcfc78

Browse files
authored
Update GitHub workflows (#1165)
1 parent e25b097 commit 1fcfc78

2 files changed

Lines changed: 8 additions & 43 deletions

File tree

.github/workflows/gfauto.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os:
29-
- ubuntu-16.04
29+
- ubuntu-18.04
3030
- windows-latest
3131
python-version:
3232
- 3.6
@@ -37,26 +37,11 @@ jobs:
3737
runs-on: ${{ matrix.os }}
3838
steps:
3939

40-
- name: get_actions
41-
run: |
42-
mkdir -p ./../.github/actions/
43-
pushd ./../.github/actions/
44-
git clone https://github.com/actions/setup-python.git
45-
pushd setup-python/
46-
git checkout v2
47-
popd
48-
git clone https://github.com/actions/checkout.git
49-
pushd checkout/
50-
git checkout v2
51-
popd
52-
popd
53-
shell: bash
54-
5540
- name: checkout
56-
uses: ./../.github/actions/checkout
41+
uses: actions/checkout@v2
5742

5843
- name: setup_python
59-
uses: ./../.github/actions/setup-python
44+
uses: actions/setup-python@v2
6045
with:
6146
python-version: ${{ matrix.python-version }}
6247
architecture: x64

.github/workflows/graphicsfuzz.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os:
32-
- ubuntu-16.04
32+
- ubuntu-18.04
3333
- windows-latest
3434
- macOS-latest
3535
python-version:
@@ -40,42 +40,22 @@ jobs:
4040
runs-on: ${{ matrix.os }}
4141
steps:
4242

43-
- name: get_actions
44-
run: |
45-
mkdir -p ./../.github/actions/
46-
pushd ./../.github/actions/
47-
git clone https://github.com/actions/setup-python.git
48-
pushd setup-python/
49-
git checkout v2
50-
popd
51-
git clone https://github.com/actions/checkout.git
52-
pushd checkout/
53-
git checkout v2
54-
popd
55-
git clone https://github.com/actions/setup-java.git
56-
pushd setup-java/
57-
git checkout v1
58-
popd
59-
popd
60-
shell: bash
61-
6243
- name: checkout
63-
uses: ./../.github/actions/checkout
44+
uses: actions/checkout@v2
6445

6546
- name: setup_python
66-
uses: ./../.github/actions/setup-python
47+
uses: actions/setup-python@v2
6748
with:
6849
python-version: ${{ matrix.python-version }}
6950
architecture: x64
7051

7152
- name: setup_java
72-
uses: ./../.github/actions/setup-java
53+
uses: actions/setup-java@v2
7354
with:
55+
distribution: temurin
7456
java-version: ${{ matrix.java-version }}
75-
java-package: jdk
7657
architecture: x64
7758

78-
7959
- name: build_step_nix
8060
run: |
8161
.github/workflows/graphicsfuzz.sh

0 commit comments

Comments
 (0)