mirror of
https://github.com/BitMaker-hub/NerdMiner_v2.git
synced 2025-10-10 21:26:08 +02:00
Merge pull request #655 from BitMaker-hub/develop
Fix workflow branches to match repository structure
This commit is contained in:
6
.github/workflows/prerelease.yml
vendored
6
.github/workflows/prerelease.yml
vendored
@@ -3,7 +3,7 @@ name: Nerdminer Pre-Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- pre-release
|
- prerelease
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -41,14 +41,14 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
discussions: write
|
discussions: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/pre-release'
|
if: github.ref == 'refs/heads/prerelease'
|
||||||
steps:
|
steps:
|
||||||
- name: Download firmware files
|
- name: Download firmware files
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/
|
path: ${{ github.workspace }}/
|
||||||
name: firmware-files-${{ github.sha }}
|
name: firmware-files-${{ github.sha }}
|
||||||
- name: Pre-release
|
- name: Prerelease
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
name: nerdminer-prerelease-${{ needs.build.outputs.version }}
|
name: nerdminer-prerelease-${{ needs.build.outputs.version }}
|
||||||
|
Reference in New Issue
Block a user