Skip to content

Commit

Permalink
Merge pull request #127 from OpenVicProject/fix/build-perms
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartan322 authored May 30, 2023
2 parents 6f2ef06 + 4d19260 commit 88817ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build:
runs-on: ${{matrix.os}}
name: ${{matrix.name}}
permissions: write-all
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -110,8 +111,8 @@ jobs:
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
filename: 'libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip'
path: '${{ github.workspace }}/game/bin/openvic/'
filename: '../../../libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip'
directory: '${{ github.workspace }}/game/bin/openvic/'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

- name: Create and upload asset
Expand Down Expand Up @@ -209,7 +210,7 @@ jobs:
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{ steps.export.outputs.archive_directory }}/*
artifacts: ${{ steps.export_game.outputs.archive_directory }}/*

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 88817ae

Please sign in to comment.