Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon authored Jun 21, 2024
1 parent 09c7b10 commit 951479f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
echo "ICON=$(cat info.json | jq '.icon' | tr -d '"')" >> "$GITHUB_ENV"
- uses: vimtor/action-zip@v1
with:
files: info.json ${{env.ICON}} main.js
dest: ${{env.NAME}}.potext
files: info.json ${{ env.ICON }} main.js
dest: ${{ env.NAME }}.potext
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{env.NAME}}.potext
name: ${{ env.NAME }}.potext
path: "*.potext"
if-no-files-found: error
- name: Upload Release
if: startsWith(github.ref, 'refs/tags')
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{env.NAME}}.potext
files: "*.potext"

0 comments on commit 951479f

Please sign in to comment.