Skip to content

Commit 9a396f8

Browse files
authored
Update ci.yaml
1 parent f8fe915 commit 9a396f8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Create Release Deployment
2+
23
on:
34
push:
45
branches: [ "master" ]
56
workflow_dispatch:
67

8+
permissions:
9+
contents: write # Grants permission to create releases and upload assets
10+
711
jobs:
812
linux-build:
913
runs-on: ubuntu-latest
@@ -25,8 +29,7 @@ jobs:
2529
uses: actions/upload-artifact@v4
2630
with:
2731
name: linux-build
28-
path: |
29-
chip8
32+
path: chip8
3033

3134
create-release:
3235
needs: [linux-build]
@@ -41,7 +44,6 @@ jobs:
4144
with:
4245
name: CHIP-8 Emulator Release
4346
tag_name: v${{ github.run_number }}
44-
files: |
45-
linux-build/chip8
47+
files: linux-build/chip8
4648
env:
4749
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)