Skip to content

Commit

Permalink
use major versions for first-party actions (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagesucks authored Jun 17, 2024
1 parent 142a5d0 commit 081a008
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4

- name: Build packages
run: DOCKER_BUILDKIT=1 docker build --build-arg UBUNTU_VERSION=${{ matrix.ubuntu }} --output binaries .
Expand All @@ -53,13 +53,13 @@ jobs:
run: magick -list format

- name: Attest build provenance
uses: actions/attest-build-provenance@v1.2.0
uses: actions/attest-build-provenance@v1
if: contains(github.ref, 'tags')
with:
subject-path: 'binaries/*'

- name: Archive binary artifacts
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: binaries-${{ matrix.ubuntu }}
path: binaries
Expand All @@ -74,7 +74,7 @@ jobs:
overwrite: true
file_glob: true

- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4
if: github.event_name == 'pull_request' && matrix.ubuntu == 'noble'
with:
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-imagemagick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4
- run: wget -O version.json "https://api.github.com/repos/ImageMagick/ImageMagick/releases/latest"
- name: Get latest version
id: version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-libde265.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4
- run: wget -O version.json "https://api.github.com/repos/strukturag/libde265/releases/latest"
- name: Get latest version
id: version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-libheif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- uses: actions/checkout@v4
- run: wget -O version.json "https://api.github.com/repos/strukturag/libheif/releases/latest"
- name: Get latest version
id: version
Expand Down

0 comments on commit 081a008

Please sign in to comment.