Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoked-Fish authored May 26, 2024
1 parent 6d6fe8f commit 336a1f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:

- name: Set Environment Variables
run: |
echo "MOD_VERSION=$(cat ${{ github.workspace }}/manifest.json | jq --raw-output '.Version')" >> $GITHUB_ENV
echo "REPO_NAME=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_ENV
echo "REFASM_TAG=SDV1.6.8-SMAPI4.0.8" >> $GITHUB_ENV
# Setup GamePath
Expand Down Expand Up @@ -60,10 +61,6 @@ jobs:
- name: Build
run: dotnet build --no-restore --configuration Release

- name: Fetch version
run: |
echo "MOD_VERSION=$(cat $GITHUB_WORKSPACE/bin/Release/version.txt)" >> $GITHUB_ENV
- name: Unzip mod
run: |
MOD_ZIP_PATH="${{ github.workspace }}/bin/Release/${{ env.REPO_NAME }} ${{ env.MOD_VERSION }}.zip"
Expand Down

0 comments on commit 336a1f9

Please sign in to comment.