Skip to content

Commit

Permalink
Issue #4185: Too many artifacts fail to upload
Browse files Browse the repository at this point in the history
Github action for upload was upgraded to v3 recently and the release is
unstable causing too many uploads to fail. Reverting that change to go
back to using v2.

Unfortunately, this change also downgrades use of Node.js to 12 which
is deprecated, generating too many warnings in build output. Favoring
warnings over failed builds.

Signed-off-by: HS <hs@apotell.com>
  • Loading branch information
hs-apotell committed Mar 15, 2023
1 parent 4a30b9a commit 21c198a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
contents: read

jobs:
cpp-builds:
cpp-lib-build:
runs-on: ${{ matrix.os }}

strategy:
Expand Down Expand Up @@ -141,12 +141,12 @@ jobs:
if: always()
run: |
cd ${{ github.workspace }}/..
tar czfp antlr_${{ matrix.os }}_${{ matrix.compiler }}.tgz antlr4
tar czfp antlr_${{ matrix.os }}_${{ matrix.compiler }}.tgz --exclude='.git' antlr4
mv antlr_${{ matrix.os }}_${{ matrix.compiler }}.tgz ${{ github.workspace }}/.
- name: Archive artifacts
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2.3.1
with:
name: antlr_${{ matrix.os }}_${{ matrix.compiler }}
path: antlr_${{ matrix.os }}_${{ matrix.compiler }}.tgz
Expand Down Expand Up @@ -339,12 +339,12 @@ jobs:
if: always()
run: |
cd ${{ github.workspace }}/..
tar czfp antlr_${{ matrix.os }}_${{ matrix.target }}.tgz antlr4
tar czfp antlr_${{ matrix.os }}_${{ matrix.target }}.tgz --exclude='.git' antlr4
mv antlr_${{ matrix.os }}_${{ matrix.target }}.tgz ${{ github.workspace }}/.
- name: Archive artifacts
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2.3.1
with:
name: antlr_${{ matrix.os }}_${{ matrix.target }}
path: antlr_${{ matrix.os }}_${{ matrix.target }}.tgz

0 comments on commit 21c198a

Please sign in to comment.