Revert "ci: Newer ubuntu image"

This reverts commit 8df579e1f5.
This commit is contained in:
fleaz 2024-05-22 23:05:47 +02:00
parent 8df579e1f5
commit 2bd45309a2
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
4 changed files with 8 additions and 4 deletions

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-24.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -21,7 +21,6 @@ jobs:
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
mkdir {previews,dist} mkdir {previews,dist}
go run main.go go run main.go
ls -laR
mv index.html dist/ mv index.html dist/
mv previews/ dist/ mv previews/ dist/
mv talks/ dist/ mv talks/ dist/

5
go.mod
View file

@ -2,4 +2,7 @@ module git.rainbownerds.de/felix/slides.fleaz.me
go 1.21 go 1.21
require gopkg.in/gographics/imagick.v3 v3.5.3 require (
gopkg.in/gographics/imagick.v2 v2.6.4
gopkg.in/gographics/imagick.v3 v3.5.3
)

2
go.sum
View file

@ -1,2 +1,4 @@
gopkg.in/gographics/imagick.v2 v2.6.4 h1:H7UgF2ZAdV85sMB9YU2c6r3dpp9SP4N6UF+bG3OK728=
gopkg.in/gographics/imagick.v2 v2.6.4/go.mod h1:/QVPLV/iKdNttRKthmDkeeGg+vdHurVEPc8zkU0XgBk=
gopkg.in/gographics/imagick.v3 v3.5.3 h1:Ho8/2Uu76Y1Z5P65dUBhh5ZeKS3ZcvYH12amWZNpSFA= gopkg.in/gographics/imagick.v3 v3.5.3 h1:Ho8/2Uu76Y1Z5P65dUBhh5ZeKS3ZcvYH12amWZNpSFA=
gopkg.in/gographics/imagick.v3 v3.5.3/go.mod h1:+Q9nyA2xRZXrDyTtJ/eko+8V/5E7bWYs08ndkZp8UmA= gopkg.in/gographics/imagick.v3 v3.5.3/go.mod h1:+Q9nyA2xRZXrDyTtJ/eko+8V/5E7bWYs08ndkZp8UmA=

View file

@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"regexp" "regexp"
"gopkg.in/gographics/imagick.v3/imagick" "gopkg.in/gographics/imagick.v2/imagick"
) )
type Talk struct { type Talk struct {