File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 11# action-nfpm
22
33A helper for building linux packages with [ nFPM] [ ] using version information
4- from git tags. ** Using this action allows you to specify ` ${VERSION} ` in your
5- nfpm.yaml and have the last valid git version used.**
4+ from git tags. Using this action allows you to specify ` ${VERSION} ` in your
5+ nfpm.yaml and have the last valid git version used.
66
77## Example
88
@@ -16,10 +16,11 @@ Assuming you have a repository with a **nfpm.yaml** file in its root:
1616``` yaml
1717jobs :
1818 build :
19- using : [self-hosted, linux]
19+ name : Build
20+ runs-on : ubuntu-latest
2021 steps :
21- - uses : secondlife/action-nfpm@v1
22- - uses : actions/upload-artifact@v2
22+ - uses : secondlife/action-nfpm@v2
23+ - uses : actions/upload-artifact@v4
2324 with :
2425 name : dist
2526 path : dist/
@@ -33,12 +34,13 @@ Alternative distribution archives can be built by specifying a valid nFPM
3334` ` ` yaml
3435jobs:
3536 build:
36- using: [self-hosted, linux]
37+ name: Build
38+ runs-on: ubuntu-latest
3739 steps:
38- - uses: secondlife/action-nfpm@v1
40+ - uses: secondlife/action-nfpm@v2
3941 with:
4042 packager: rpm
41- - uses: actions/upload-artifact@v2
43+ - uses: actions/upload-artifact@v4
4244 with:
4345 name: dist
4446 path: dist/
You can’t perform that action at this time.
0 commit comments