mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-11-14 21:17:54 -06:00
32 lines
559 B
YAML
32 lines
559 B
YAML
|
name: 🚀 Release
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- 'v*.*'
|
||
|
|
||
|
permissions:
|
||
|
contents: write
|
||
|
|
||
|
jobs:
|
||
|
build-artifacts:
|
||
|
uses: ./.github/workflows/build.yml
|
||
|
|
||
|
create-release:
|
||
|
env:
|
||
|
GH_TOKEN: ${{ github.token }}
|
||
|
runs-on: ubuntu-latest
|
||
|
needs:
|
||
|
- build-artifacts
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- name: Download Build Artifacts
|
||
|
uses: actions/download-artifact@v3
|
||
|
|
||
|
- run: ls -R artifacts/
|
||
|
|
||
|
- name: Generate New Nightly Release
|
||
|
run: |
|
||
|
gh release create ${{ github.ref }} ./artifacts/*
|