Fri Feb 7 07:36:41 CST 2025
All checks were successful
Release Creation / build (release) Successful in 40s

This commit is contained in:
2025-02-07 07:36:41 -06:00
parent 78e593fbca
commit d68a7ca49d
3 changed files with 8 additions and 3 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
TEST=123

View File

@@ -14,7 +14,7 @@ jobs:
- name: Extract tag version number
id: get_version
uses: battila7/get-version-action@v2
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ gitea.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
@@ -30,7 +30,8 @@ jobs:
# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip module.json src
- run: echo "Files- $(ls *.json)"
- run: echo "Files- $(ls -la)"
- run: echo "secret- `${{ secrets.TEST }}`"
# Create a release for this specific version
- name: Update Release with Files
@@ -44,4 +45,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module.json, ./module.zip'
tag: ${{ github.event.release.tag_name }}
body: ${{ github.event.release.body }}
body: ${{ github.event.release.body }}
title: ${{ github.event.release.tag_name }}

2
.secrets Normal file
View File

@@ -0,0 +1,2 @@
TEST=123
GITHUB_TOKEN=90b74545400305cb379a38d2c442d29d3aa911a4