Skip to content

Commit

Permalink
update action functions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bas524 committed Oct 8, 2024
1 parent bbd4efc commit 37b87e1
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/action-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set artifacts dir
id: artifacts
run: echo "artifacts=$(echo $PWD/artifacts)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: configure-and-build
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
id: get-version
run: echo "prj_ver=$(cat ${PWD}/artifacts/VERSION.txt)" >> $GITHUB_OUTPUT
- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}-{2}', steps.get-version.outputs.prj_ver, matrix.distro, matrix.arch) }}
path: ${{ format('{0}/Qldd-{1}-{2}.???', steps.artifacts.outputs.artifacts ,steps.get-version.outputs.prj_ver, matrix.arch) }}
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: apt-get update -y && apt-get install -yq binutils python3-nautilus make cmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gcc g++ lsb-release
Expand All @@ -116,15 +116,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G DEB && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: |
Expand All @@ -170,15 +170,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G DEB && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -203,7 +203,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: apt-get update -y && apt-get install -yq binutils python3-nautilus make cmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gcc g++ lsb-release
Expand All @@ -222,15 +222,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G DEB && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -255,7 +255,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: apt-get update -y && apt-get install -yq binutils python-nautilus make cmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gcc g++ lsb-release
Expand All @@ -274,15 +274,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G DEB && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -307,7 +307,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: |
Expand All @@ -332,15 +332,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G RPM && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -365,7 +365,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: yum update -y && yum install -yq binutils python3-nautilus qt5-qtbase-devel qt5-qttools rpm-build redhat-lsb
Expand All @@ -384,15 +384,15 @@ jobs:
- name: cpack
run: cd cmake-build-release && cpack -G RPM && cd ..
# upload artifact
- uses: mad9000/actions-find-and-replace-string@3
- uses: mad9000/actions-find-and-replace-string@5
id: container
with:
source: ${{ matrix.container }}
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -

- name: Upload Qldd binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('Qldd-{0}-x86_64.???', steps.get-version.outputs.prj_ver) }}
Expand All @@ -407,7 +407,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: brew-pkgs
run: brew install qt@5
Expand All @@ -425,7 +425,7 @@ jobs:
run: echo "prj_ver=$(cat ./VERSION.txt)" >> $GITHUB_OUTPUT
- name: cpack
run: cd cmake-build-release && cpack -G DragNDrop && cd ..
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ format('Qldd-{0}-Darwin.dmg', steps.get-version.outputs.prj_ver) }}
path: cmake-build-release/${{ format('Qldd-{0}-Darwin.dmg', steps.get-version.outputs.prj_ver) }}
Expand Down

0 comments on commit 37b87e1

Please sign in to comment.