diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fce2e4..a0594bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,12 +29,12 @@ jobs: echo "rpm_name=$(ls target/generate-rpm/)" >> "$GITHUB_ENV" - name: Pack # Create a package with file - run: tar czfv target/generate-rpm/${rpm_name}.tar.gz -C target/generate-rpm/ ${rpm_name} + 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/${rpm_name}.tar.gz + path: target/generate-rpm/file.tar.gz name: ${rpm_name}.tar.gz