Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fechan committed Oct 23, 2024
2 parents e29beb3 + 9c83e67 commit 04a120a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
permissions:
contents: write

on:
schedule:
- cron: 0 0 * * *
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build resource pack
run: ${PWD}/make_resourcepack.sh
- name: Set current date as env variable
run: echo "NOW=$(date +'%Y-%m-%dT%H%M%S')" >> $GITHUB_ENV
shell: bash
- name: Create GH release
run: gh release create $NOW scc_resourcepack.zip
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash

0 comments on commit 04a120a

Please sign in to comment.