diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ab909c1..a3c52ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -269,7 +269,7 @@ 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: @@ -277,7 +277,7 @@ jobs: - 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