Skip to content

Commit

Permalink
Update all Github actions to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Dec 7, 2024
1 parent 2e16209 commit df26c24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build and test
run: |
mkdir build
Expand All @@ -23,13 +23,13 @@ jobs:
package-source:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Make source tarball
run: |
./autogen.sh
./configure && make distcheck
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: libdiscid-source
path: libdiscid-*.tar.gz
Expand All @@ -40,7 +40,7 @@ jobs:
GENERATOR: Visual Studio 16 2019
CODESIGN: ${{ !!secrets.AZURE_CERT_PROFILE_NAME }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prepare package
run: |
mkdir artifacts
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: libdiscid-windows
path: artifacts/
Expand All @@ -106,7 +106,7 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: "10.10"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: |
mkdir build
Expand All @@ -128,7 +128,7 @@ jobs:
cp -Rv include artifacts/
cp -v ../COPYING ../README ../ChangeLog artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: libdiscid-macos
path: build/artifacts
Expand All @@ -142,20 +142,20 @@ jobs:
- package-macos
- package-windows
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set version
run: |
TAG=${GITHUB_REF##*/}
echo "VERSION=$(echo $TAG | sed 's/^v//')" >> $GITHUB_ENV
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: libdiscid-windows
path: artifacts/libdiscid-${{ env.VERSION }}-win/
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: libdiscid-macos
path: artifacts/libdiscid-${{ env.VERSION }}-mac/
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: libdiscid-source
path: artifacts/release/
Expand All @@ -172,7 +172,7 @@ jobs:
cd artifacts/release/
sha256sum * > SHA256SUMS
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: artifacts/release/*
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Build documentation
run: |
sudo apt-get install doxygen
Expand All @@ -40,10 +40,10 @@ jobs:
cmake ..
make docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './_build/docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit df26c24

Please sign in to comment.