diff --git a/.env b/.env new file mode 100644 index 0000000..65bf4cc --- /dev/null +++ b/.env @@ -0,0 +1 @@ +TEST=123 \ No newline at end of file diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index ac376e3..e07d2ab 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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 }} \ No newline at end of file + body: ${{ github.event.release.body }} + title: ${{ github.event.release.tag_name }} \ No newline at end of file diff --git a/.secrets b/.secrets new file mode 100644 index 0000000..0dcc523 --- /dev/null +++ b/.secrets @@ -0,0 +1,2 @@ +TEST=123 +GITHUB_TOKEN=90b74545400305cb379a38d2c442d29d3aa911a4 \ No newline at end of file