diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 9ed53a3..83efdd7 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -19,23 +19,19 @@ jobs: shell: ${{ matrix.os[1] }} {0} steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - uses: actions/checkout@v4 - name: Install Ubuntu packages if: matrix.os[0] == 'ubuntu-latest' run: | sudo apt-get update sudo apt-get -y install texinfo bison flex gettext libgmp3-dev libmpfr-dev libmpc-dev - echo "MSYSTEM=x64" >> $GITHUB_ENV - name: Install macOS packages if: matrix.os[0] == 'macos-latest' run: | brew update brew install texinfo bison flex gnu-sed gsl gmp mpfr libmpc - echo "MSYSTEM=x64" >> $GITHUB_ENV - name: Install MSYS2 packages if: matrix.os[0] == 'windows-latest' @@ -46,10 +42,8 @@ jobs: base-devel git make texinfo flex bison patch binutils mingw-w64-i686-gcc mpc-devel tar mingw-w64-i686-cmake mingw-w64-i686-make mingw-w64-i686-libogg update: true - shell: msys2 {0} - name: Runs all the stages in the shell - continue-on-error: false run: | export PS2DEV=$PWD/ps2dev export PS2SDK=$PS2DEV/ps2sdk diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 69843d2..3dd9805 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,7 @@ jobs: DISPATCH_TOKEN: ${{ secrets.DISPATCH_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Extract DOCKER_TAG using tag name if: startsWith(github.ref, 'refs/tags/') @@ -31,20 +31,20 @@ jobs: echo "DOCKER_TAG=latest" >> $GITHUB_ENV - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 if: env.DOCKER_USERNAME != null with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to Github Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -61,7 +61,7 @@ jobs: echo "DOCKER_TAG_LIST=ghcr.io/${{ github.repository }}:${{ env.DOCKER_TAG }}" >> $GITHUB_ENV - name: Build and Push to container registry - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: push: true tags: ${{ env.DOCKER_TAG_LIST }} @@ -76,7 +76,7 @@ jobs: echo "NEW_DISPATCH_ACTION=$DISPATCH_ACTION" >> $GITHUB_ENV - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v3 if: env.DISPATCH_TOKEN != null with: repository: ${{ github.repository_owner }}/ps2sdk