Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo authored Oct 4, 2024
1 parent ddb3ec0 commit 5b31318
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/Breakage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
VERSION: ${{ matrix.pkgversion }}
run: |
set -v
mkdir -p ./pr
echo "${{ github.event.number }}" > ./pr/NR
git clone https://github.com/$URL
export PKG=$(echo $URL | cut -f2 -d/)
mkdir -p ./breakage-$PKG-$VERSION
echo "${{ github.event.number }}" > ./breakage-$PKG-$VERSION/NR
git clone https://github.com/$URL
cd $PKG
if [ $VERSION == "stable" ]; then
TAG=$(git tag -l "v*" --sort=-creatordate | head -n1)
Expand Down Expand Up @@ -94,23 +94,24 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: breakage-$PKG-$version
path: pr/
name: breakage-$PKG-$VERSION
path: breakage-$PKG-$VERSION/

upload:
needs: break
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: breakage-*
path: pr/
path: breakage
pattern: breakage-*
merge-multiple: true

- run: ls
- run: |
mkdir pr
cd pr
echo "| Package name | latest | stable |" > MSG
echo "|--|--|--|" >> MSG
Expand Down

0 comments on commit 5b31318

Please sign in to comment.