Skip to content

Commit

Permalink
Merge pull request #44 from pspdev/updatingCI
Browse files Browse the repository at this point in the history
Updating CI
  • Loading branch information
fjtrujy authored May 2, 2024
2 parents d40a901 + 4c22788 commit c6449d7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
container: ghcr.io/pspdev/pspsdk:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: psplinkusb
path: release
Expand All @@ -38,9 +38,8 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3
uses: egor-tensin/setup-cygwin@v4
with:
platform: x64
packages: gcc-core gcc-g++ make libreadline7 libreadline-devel libusb0 libusb-devel

- name: Compile project
Expand All @@ -58,7 +57,7 @@ jobs:
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: psplinkusb-windows
path: build
Expand All @@ -67,7 +66,7 @@ jobs:
needs: [build, windows]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4

- name: Compress & Rename artifacts
run: |
Expand All @@ -77,7 +76,7 @@ jobs:
- name: Create pre-release
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
psplink.zip
Expand All @@ -91,7 +90,7 @@ jobs:

- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
psplink.zip
Expand Down

0 comments on commit c6449d7

Please sign in to comment.