From 0f15fe370f501b246a8ed8df5dc15259a7bdb02a Mon Sep 17 00:00:00 2001 From: Yann Thierry-Mieg Date: Mon, 24 Jun 2024 09:17:23 +0200 Subject: [PATCH] use a major version ref for tasks --- .github/workflows/linux.yml | 4 ++-- .github/workflows/osx.yml | 4 ++-- .github/workflows/windows.yml | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8b14dbb91..5f2f02420 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - name: tag version date run: /bin/sh ./tag.sh - name: Install packages @@ -36,7 +36,7 @@ jobs: - name: make doc run: cd doc ; make ; cd .. ; mv doc/libddd.html/ website/ ; - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.6.1 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: website/ # The folder the action should deploy. diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 21c3f7e8f..e13f7ed99 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -13,7 +13,7 @@ jobs: steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - name: tag version date run: /bin/sh ./tag.sh - name: Install packages @@ -33,7 +33,7 @@ jobs: - name: prepare artefact run: rm usr/local/lib/libDDD_d* ; tar cvzf osx.tgz usr/ ; mv osx.tgz website/ - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.6.1 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: osx # The branch the action should deploy to. folder: website/ # The folder the action should deploy. diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6eb55083d..cc38fda61 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,14 +12,14 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v4.1.4 + - uses: actions/checkout@v4 - name: install packages run: C:\msys64\usr\bin\bash -lc "PATH+=:/mingw64/bin ; pacman --noconfirm -S mingw-w64-x86_64-gcc mingw-w64-x86_64-autotools mingw-w64-x86_64-pkg-config p7zip base-devel libtool" - name: configure and make run: C:\msys64\usr\bin\bash -lc "PATH+=:/mingw64/bin ; cd /D/a/libDDD/libDDD ; autoreconf -vfi && ./configure --prefix=/D/a/libDDD/libDDD/usr/local/ --enable-nolto --enable-mingw-native && make -j 4 && make install || cat config.log" - name: package zip run: C:\msys64\usr\bin\bash -lc "cd /D/a/libDDD/libDDD ; rm usr/local/lib/libDDD_d* ; tar -a -c -f windows.zip usr/ ; mkdir site ; mv windows.zip site/" - - name: Upload Artifacts 🔺 # The project is then uploaded as an artifact named 'site'. + - name: Upload Artifacts # The project is then uploaded as an artifact named 'site'. uses: actions/upload-artifact@v4 with: name: site @@ -30,18 +30,18 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout 🛎️ - uses: actions/checkout@v4.1.4 + - name: Checkout + uses: actions/checkout@v4 with: persist-credentials: false - - name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder. + - name: Download Artifacts # The built project is downloaded into the 'site' folder. uses: actions/download-artifact@v4 with: name: site - name: move to website run: ls -lah ; mkdir -p windows ; cp windows.zip windows/ ; ls -lah windows/ - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.6.1 + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 with: branch: Windows folder: windows/ # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.