aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/builds.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 43879be..8693696 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -10,6 +10,7 @@ jobs:
build:
runs-on: ${{matrix.os}}
name: ${{matrix.name}}
+ permissions: write-all
strategy:
fail-fast: false
matrix:
@@ -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
@@ -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