Skip to content

Commit

Permalink
Use wildcard for upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
matinlotfali committed Apr 22, 2024
1 parent abed280 commit 4a82609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ jobs:
DEB_NAME=kwin4_effect_shapecorners
SHORT_SHA=$(echo $GITHUB_SHA | head -c 5)
mv ${DEB_NAME}.deb ../${DEB_NAME}_${GITHUB_JOB}_${SHORT_SHA}.deb
cd ..
(echo "file=$(ls *.deb)" >> $GITHUB_OUTPUT)
- name: Upload Artifact
uses: actions/[email protected]
if: github.event_name != 'schedule'
with:
name: Deb Package
path: ${{steps.package.outputs.file}}
path: ${{ github.workspace }}/*.deb
compression-level: 0
if-no-files-found: error

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/kubuntu2204-backports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,13 @@ jobs:
DEB_NAME=kwin4_effect_shapecorners
SHORT_SHA=$(echo $GITHUB_SHA | head -c 5)
mv ${DEB_NAME}.deb ${DEB_NAME}_${GITHUB_JOB}_${SHORT_SHA}.debmv ${DEB_NAME}.deb ../${DEB_NAME}_${GITHUB_JOB}_${SHORT_SHA}.deb
cd ..
(echo "file=$(ls *.deb)" >> $GITHUB_OUTPUT)
- name: Upload Artifact
uses: actions/[email protected]
if: github.event_name != 'schedule'
with:
name: Debian Package
path: ${{steps.package.outputs.file}}
path: ${{ github.workspace }}/*.deb
compression-level: 0
if-no-files-found: error

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/neon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,13 @@ jobs:
DEB_NAME=kwin4_effect_shapecorners
SHORT_SHA=$(echo $GITHUB_SHA | head -c 5)
mv ${DEB_NAME}.deb ../${DEB_NAME}_${GITHUB_JOB}_${SHORT_SHA}.deb
cd ..
(echo "file=$(ls *.deb)" >> $GITHUB_OUTPUT)
- name: Upload Artifact
uses: actions/[email protected]
if: github.event_name != 'schedule'
with:
name: Debian Package
path: ${{steps.package.outputs.file}}
path: ${{ github.workspace }}/*.deb
compression-level: 0
if-no-files-found: error

Expand Down

0 comments on commit 4a82609

Please sign in to comment.