Build packages in temp dir and cleanup on exit

This commit is contained in:
sharpenedblade
2023-10-13 17:43:50 -07:00
parent bcebfab48b
commit 99eb5677ec
6 changed files with 48 additions and 25 deletions
+2 -2
View File
@@ -55,14 +55,14 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: packages
path: _output/*.rpm
path: builddir/packages/*.rpm
- name: "Release"
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: |
_output/*.rpm
builddir/packages/*.rpm
deploy:
needs: ["build"]
+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
with:
latest: true
fileName: "*"
out-file-path: "_output"
out-file-path: "builddir/packages"
- name: "Build DNF Repo"
run: |
@@ -38,5 +38,5 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
publish-dir: _output/dnf-repo
publish-dir: builddir/dnf-repo
production-deploy: ${{ startsWith(github.ref, 'refs/tags/v') }}