Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
altmannmarcelo authored Mar 22, 2024
1 parent a822020 commit 5dd179d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:
- name: Save RPM name
run: |
echo "rpm_name=$(ls target/generate-rpm/)" >> "$GITHUB_ENV"
- name: Pack
# Create a package with file
run: tar czfv target/generate-rpm/file.tar.gz -C target/generate-rpm/ ${rpm_name}

- name: Upload
uses: actions/upload-artifact@v4
with:
path: target/generate-rpm/file.tar.gz
name: ${rpm_name}.tar.gz
path: target/generate-rpm/
name: ${{ env.rpm_name }}


0 comments on commit 5dd179d

Please sign in to comment.