Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
urothis committed Dec 31, 2023
1 parent 9e0d060 commit 3d0a8d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
6 changes: 1 addition & 5 deletions .actions/nwserver/download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,4 @@ runs:
dotnet run -app $APP_ID -depot $WIN_BIN_DEPOT_ID -username ${{ inputs.steam_username }} -password ${{ inputs.steam_password }} $EXTRA_ARGS
dotnet run -app $APP_ID -depot $LINUX_BIN_DEPOT_ID -username ${{ inputs.steam_username }} -password ${{ inputs.steam_password }} $EXTRA_ARGS
dotnet run -app $APP_ID -depot $CONTENT_DEPOT_ID -username ${{ inputs.steam_username }} -password ${{ inputs.steam_password }} $EXTRA_ARGS
cd depots/$CONTENT_DEPOT_ID/*/
ls -la
cp bin/linux-x86/nwserver-linux ${{ inputs.output_path }}/data/bin/linux-amd64/nwserver
cp bin/win32/nwserver.exe ${{ inputs.output_path }}/data/bin/win32/nwserver.exe
cp bin/linux-arm64/nwserver-linux ${{ inputs.output_path }}/data/bin/linux-arm64/nwserver
2 changes: 1 addition & 1 deletion .actions/nwserver/package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ runs:
CONTENT_DEPOT_ID: 704451
run: |
cd depots/$CONTENT_DEPOT_ID/*/
nwn_resman_pkg --userdirectory . -d ${{ inputs.GITHUB_WORKSPACE }}/data/data
nwn_resman_pkg --userdirectory . -d ${{ inputs.path }}/data/data
11 changes: 3 additions & 8 deletions .github/workflows/nwserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ jobs:
id: download
uses: ./.actions/nwserver/download/
with:
preview: ${{ matrix.channel == 'preview' }}
preview: ${{ matrix.channel == 'preview' }}
steam_username: ${{ secrets.STEAM_USER }}
steam_password: ${{ secrets.STEAM_PASS }}
output_path: ${{ github.workspace }}
output_path: ${{ github.workspace }}
- name: Parse nwnxee
id: parse
uses: ./.actions/nwserver/parse/
with:
input_path: ${{ github.workspace }}/nwserver
output_path: ${{ github.workspace }}/nwserver
channel: ${{ matrix.channel }}
- name: Echo outputs
run: |
echo "version: ${{ steps.parse.outputs.version }}"
Expand All @@ -32,5 +28,4 @@ jobs:
- name: Package nwserver files
id: package
uses: ./.actions/nwserver/package/
with:
input_path: ${{ github.workspace }}/nwserver
- run: ls -la ${{ steps.package }}

0 comments on commit 3d0a8d9

Please sign in to comment.