workflow: clean up

- Bump actions versions
- Don't make a new directory for artifact uploads, as the file name is
  unlikely to change
This commit is contained in:
lifehackerhansol 2024-10-30 05:16:20 -07:00
parent 981575da67
commit 368223df72
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E
2 changed files with 7 additions and 16 deletions

View File

@ -18,16 +18,11 @@ jobs:
name: Build with Docker using devkitARM name: Build with Docker using devkitARM
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Make application - name: Make application
run: | run: |
make make
- name: Prepare for build publishing
run: |
mkdir -p ~/artifacts
cp -f FastVideoDS.nds ~/artifacts/
- name: Publish build to GH Actions - name: Publish build to GH Actions
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
path: ~/artifacts/* path: FastVideoDS.nds
name: build

View File

@ -11,19 +11,15 @@ jobs:
name: Build with Docker using devkitARM name: Build with Docker using devkitARM
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Make application - name: Make application
run: | run: |
make make
- name: Prepare for build publishing
run: |
mkdir -p ~/artifacts
cp -f FastVideoDS.nds ~/artifacts/
- name: Publish build to GH Actions - name: Publish build to GH Actions
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
path: ~/artifacts/* path: FastVideoDS.nds
name: build
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')