Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsukaHiro authored Jul 27, 2023
1 parent dbc43f9 commit 029c391
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
- name: Build RSP
run: 7z\7za.exe a -mx9 -tzip -aoa RSP.zip assets\* credit.txt pack.mcmeta pack.png README.md

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_name: Release ${{ steps.date.outputs.date }}
draft: false
prerelease: true

- name: Uploade Resource Pack
uses: actions/upload-release-asset@v1
env:
Expand All @@ -38,11 +48,3 @@ jobs:
asset_path: ./RSP.zip
asset_name: RSP.zip
asset_content_type: application/zip
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: RSP.zip

0 comments on commit 029c391

Please sign in to comment.