Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas authored May 28, 2024
1 parent bbd7217 commit 3de90ff
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

name: Test Publish

on:
push:
branches: [ master ]

jobs:
build-and-test:
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'
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 }}

0 comments on commit 3de90ff

Please sign in to comment.