Skip to content

Commit

Permalink
Merge pull request #202 from koplo199/bottlesdevs-pr
Browse files Browse the repository at this point in the history
Attempt to fix the CI
  • Loading branch information
mirkobrombin authored Dec 16, 2022
2 parents 6137eaf + 2f5c6e2 commit 582a067
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pull-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,12 @@ jobs:
if: env.UPDATED == 'true'
working-directory: "bottle-components-repository"
run: |
release_archive=${{ fromJSON(steps.check-release.outputs.asset).url }}
if [[ $release_archive == *".tar.zst" ]]; then
tar --use-compress-program=unzstd -xvf $release_archive
tar -C "${{ env.NAME }}" -zcvf "${{ env.NAME }}.tar.gz" $(ls ${{ env.NAME }})
release_archive_url=${{ fromJSON(steps.check-release.outputs.asset).url }}
release_archive_name=${{ fromJSON(steps.check-release.outputs.asset).name }}
if [[ $release_archive_name == *".tar.zst" ]]; then
curl -fsSLO "$release_archive_url"
tar --use-compress-program=unzstd -xvf $release_archive_name
tar -zcvf "${{ env.NAME }}.tar.gz" "${{ env.NAME }}"
echo "UPLOAD_FILE=$(pwd)/${{ env.NAME }}.tar.gz" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -166,7 +168,7 @@ jobs:
if [[ "${{ env.NAMEPREFIX }}" == "dxvk"* ]]; then
rm -rf "$folder/usr"
fi
tar -C "$folder" -zcvf "${{ env.NAME }}.tar.gz" $(ls "$folder")
tar -C "$folder" -zcvf "${{ env.NAME }}.tar.gz" .
echo "UPLOAD_FILE=$(pwd)/${{ env.NAME }}.tar.gz" >> $GITHUB_ENV
- name: Upload component archive
Expand Down
4 changes: 0 additions & 4 deletions input_files/14-dxvk.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
dxvk-2.0-1-c55c093:
Category: dxvk
Channel: unstable
Date: '1670785732'
dxvk-2.0:
Category: dxvk
Channel: stable
Expand Down

0 comments on commit 582a067

Please sign in to comment.