Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Ubuntu packages
if: startsWith(matrix.os.runs-on, 'ubuntu')
Expand All @@ -94,7 +94,7 @@ jobs:
run: |
curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci
. ./macports-ci install --remove-brew --version=2.11.5 --sync=rsync
sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl
sudo port install gsl gmp mpfr libmpc libiconv bison flex gsed texinfo autoconf automake libtool md5sha1sum wget curl cmake

- name: Install MSYS2 packages
if: startsWith(matrix.os.runs-on, 'windows')
Expand All @@ -105,7 +105,7 @@ jobs:
base-devel git make texinfo flex bison patch binutils mpc-devel tar wget curl
autotools gettext gettext-devel
mingw-w64-i686-readline mingw-w64-i686-gcc mingw-w64-i686-cmake
mingw-w64-i686-make mingw-w64-i686-libogg
mingw-w64-i686-make mingw-w64-i686-libogg mingw-w64-i686-libgnurx
update: true

- name: Runs all the stages in the shell
Expand All @@ -127,7 +127,7 @@ jobs:
tar -zcvf ps2dev-${{ matrix.os.runs-on }}.tar.gz ps2dev

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.repository.name }}-${{ matrix.os.runs-on }}-ps2dev-${{ matrix.os.architecture }}-${{ matrix.os.macos-package-manager }}-${{ steps.slug.outputs.sha8 }}
path: ps2dev-${{ matrix.os.runs-on }}.tar.gz
Expand All @@ -139,7 +139,7 @@ jobs:

- name: Create pre-release
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: ps2dev-${{ matrix.os.runs-on }}.tar.gz
prerelease: true
Expand All @@ -150,7 +150,7 @@ jobs:

- name: Release
if: startsWith(github.ref, 'refs/tags/') && github.event.repository.name == 'ps2dev' && matrix.os.macos-package-manager != 'port'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: ps2dev-${{ matrix.os.runs-on }}.tar.gz
tag_name: ${{ steps.tag.outputs.VERSION }}
Expand Down
27 changes: 12 additions & 15 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Prepare
run: |
platform=${{ matrix.platform.container-platform }}
printf 'PLATFORM_PAIR=%s\n' "${platform//\//-}" >> $GITHUB_ENV

- name: Login to Github Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -63,13 +63,10 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and Push to container registry
id: build
uses: docker/build-push-action@v6
Expand All @@ -87,7 +84,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- name: Upload digest
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
Expand All @@ -107,29 +104,29 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Ubuntu packages
run: |
sudo apt-get -y update
sudo apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install jq

- name: Download digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
if: env.DOCKER_USERNAME != null
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}

- name: Login to Github Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -157,14 +154,14 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.DOCKER_CONTAINER_LIST }}
tags: |
type=raw,value=${{ env.DOCKER_TAG }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
Expand Down Expand Up @@ -212,7 +209,7 @@ jobs:
printf 'NEW_DISPATCH_ACTION=%s\n' "$DISPATCH_ACTION" >> $GITHUB_ENV

- name: Repository Dispatch to ${{ matrix.dest-repo }}
uses: peter-evans/repository-dispatch@v3
uses: peter-evans/repository-dispatch@v4
if: env.DISPATCH_TOKEN != null && !contains(matrix.dest-repo, '/')
with:
repository: ${{ github.repository_owner }}/${{ matrix.dest-repo }}
Expand All @@ -221,7 +218,7 @@ jobs:
client-payload: '{"ref": "${{ github.ref }}", "parent_name": "${{ env.PAYLOAD_REPO_PARENT_NAME }}", "parent_sha": "${{ env.PAYLOAD_REPO_PARENT_SHA }}"}'

- name: Repository Dispatch to specific ${{ matrix.dest-repo }}
uses: peter-evans/repository-dispatch@v3
uses: peter-evans/repository-dispatch@v4
if: env.DISPATCH_TOKEN != null && contains(matrix.dest-repo, '/')
with:
repository: ${{ matrix.dest-repo }}
Expand Down
Loading