Skip to content

Commit

Permalink
Upgrade actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 27, 2023
1 parent e575751 commit 41ef879
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
name: Build main TTFs
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up latest harfbuzz
uses: notofonts/install-harfbuzz-action@main
- name: Set up Python
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Build fonts
run: make build
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: fontbuild
path: fonts
Expand All @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
needs: build-all
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download font build zip
uses: actions/download-artifact@v3
with:
Expand All @@ -69,7 +69,7 @@ jobs:
. venv/bin/activate ; python3 -m notoqa
continue-on-error: true
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: fontbakery-googlefonts
path: out
Expand All @@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
needs: build-all
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download font build zip
uses: actions/download-artifact@v3
with:
Expand All @@ -95,7 +95,7 @@ jobs:
run: |
. venv/bin/activate; mkdir -p out/ out/proof; diffenator2 proof $(find fonts/*/unhinted/ttf -type f) -o out/proof
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: proof
path: out
Expand All @@ -105,7 +105,7 @@ jobs:
runs-on: ubuntu-latest
needs: build-all
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download font build zip
uses: actions/download-artifact@v3
with:
Expand All @@ -122,7 +122,7 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: regression
path: out
Expand All @@ -136,7 +136,7 @@ jobs:
- proof
- regression
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download font zip
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
# Set the archive name to repo name + "-assets" e.g "MavenPro-assets"
run: echo "ZIP_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')-fonts" >> $GITHUB_ENV
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.ZIP_NAME }}
path: out
Expand All @@ -196,7 +196,7 @@ jobs:
url: ${{ steps.upload.outputs.browser_download_url }}
config_file: ${{ steps.check_tag.outputs.config_file }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -269,15 +269,15 @@ jobs:
echo "::error file=sources/config.yaml,title=USER_GITHUB_TOKEN was not set in repository secrets::Generate a personal access token with a repo scope by visiting https://github.com/settings/tokens/new and add it to an environment secret called USER_GITHUB_TOKEN in an environment called 'googlefonts' by going to $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/settings/secrets/actions";
exit 1
fi
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip3 install 'git+https://github.com/googlefonts/gftools#egg=gftools'
- name: Generate / update upstream.yaml
run: python3 -m gftools.actions.updateupstream ${{ needs.create_release.outputs.url }} --config "${{ needs.create_release.outputs.config_file }}"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
name: Check out Google Fonts repository
with:
fetch-depth: 0
Expand Down

0 comments on commit 41ef879

Please sign in to comment.