Skip to content

Commit

Permalink
actions/upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Apr 20, 2024
1 parent 54b8ad7 commit a262e74
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon -e DEB_BUILD_OPTIONS=nocheck ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.deb
retention-days: 1
Expand All @@ -85,7 +85,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -107,7 +107,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -129,7 +129,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -151,7 +151,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -173,7 +173,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -195,7 +195,7 @@ jobs:
- run: docker push ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
# building in precompiled image makes them way faster instead of creating the build environment every time from scratch
- run: /usr/bin/docker run -v ${{ github.workspace }}:/nagstamon ${{ env.cr_image }}-${{ github.job }}:${{ env.cr_image_version }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.rpm
retention-days: 1
Expand All @@ -210,7 +210,7 @@ jobs:
- run: cd ${{ github.workspace }}/build; python3 build.py
env:
PYTHONPATH: ${{ github.workspace }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build/*.dmg
retention-days: 1
Expand All @@ -236,7 +236,7 @@ jobs:
PYTHONPATH: ${{ github.workspace }}
WIN_SIGNING_CERT_BASE64: ${{ secrets.SIGNING_CERT_BASE64 }}
WIN_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: |
build/dist/*.zip
Expand All @@ -262,7 +262,7 @@ jobs:
PYTHONPATH: ${{ github.workspace }}
WIN_SIGNING_CERT_BASE64: ${{ secrets.SIGNING_CERT_BASE64 }}
WIN_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: |
build/dist/*.zip
Expand All @@ -288,7 +288,7 @@ jobs:
PYTHONPATH: ${{ github.workspace }}
WIN_SIGNING_CERT_BASE64: ${{ secrets.SIGNING_CERT_BASE64 }}
WIN_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: |
build/dist/*.zip
Expand Down

0 comments on commit a262e74

Please sign in to comment.