mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
Build packages in temp dir and cleanup on exit
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user