forked from agc93/nexus-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 941 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Test Publish
on:
push:
branches: [ master ]
jobs:
upload-artifact:
name: Upload Artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/upload-artifact@v4
with:
name: test
path: src/BUTR.NexusUploader/Test.7z
###########################
# NEXUSMODS #
###########################
publish-on-nexusmods:
if: github.ref == 'refs/heads/master'
needs: [upload-artifact]
uses: BUTR/workflows/.github/workflows/release-nexusmods.yml@master
with:
nexusmods_game_id: ihatethisgame
nexusmods_mod_id: 4
mod_filename: test
mod_version: "0.0.${{ github.run_id }}"
mod_description: |
Test File Please Ignore
artifact_name: test
secrets:
NEXUSMODS_APIKEY: ${{ secrets.ARAGAS_NEXUSMODS_API_KEY }}
NEXUSMODS_SESSION_COOKIE: ${{ secrets.ARAGAS_NEXUSMODS_SESSION_COOKIE }}