Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirefel committed Feb 11, 2023
1 parent 75f1d04 commit ebb8c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ jobs:

- name: Build and package
run: .\build.ps1

- name: Tag main branch
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ github.event.inputs.version }}',
sha: context.sha
})

- name: Publish release
uses: softprops/action-gh-release@v1
Expand Down
5 changes: 3 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ msbuild /t:Build /restore /p:Configuration=Release /p:OutDir=..\build

rm -R .\release -ErrorAction SilentlyContinue

mkdir .\release\Mods\Assets\OriDeRandomiser\
mkdir .\release\Mods\strings\Randomiser\
mkdir .\release\
mkdir .\release\assets\
mkdir .\release\strings\

cp .\build\OriDeRandomiser.dll .\release\
cp .\Randomiser\Assets\* .\release\assets\
Expand Down

0 comments on commit ebb8c9d

Please sign in to comment.