Skip to content

Creating an Automated Release with GitHub Actions for a Minecraft Texture Repository #45733

Answered by jge162
vindocel asked this question in General
Discussion options

You must be logged in to vote

Good day to you @vindocel Here is some pseudocode-> (its up to you to finish) you can play with. It is not finished but a start for you. Aslo refer here for additonal help Github Actions

name: Release
on:
  push:
    branches:
      - master
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  FILE_NAME: "Dark-Everywhere"
  FILE_EXTENSION: ".zip"
  BRANCHES: "1.19.3,1.19,1.18"
  PACKAGE_NAME: "assets,pack.mcmeta,pack.png"
jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2
    - name: Create a release
      uses: actions/create-release@v1
      env:
        GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
      with:
        tag_name: "v${{ …

Replies: 3 comments 43 replies

Comment options

You must be logged in to vote
42 replies
@Trunghoang25
Comment options

@vindocel
Comment options

@jge162
Comment options

@vindocel
Comment options

@jge162
Comment options

Answer selected by vindocel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants