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 ef999ed commit 0f50bc0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,20 @@ 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 tag in public repository
run: |
cd ${{github.workspace}}
git tag nighty-build-${{ github.event.repository.updated_at}}
git push --tags --porcelain
- name: Create Release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: true
release_name: Build-${{ github.event.repository.updated_at}}
tag_name: nighty-build--${{ github.event.repository.updated_at}}
tag_name: nighty-build-${{ github.event.repository.updated_at}}
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 0f50bc0

Please sign in to comment.