From c8f4857b93fe6638b11f213e51330968a115ee9e Mon Sep 17 00:00:00 2001 From: Patrick762 <80690443+Patrick762@users.noreply.github.com> Date: Sun, 15 Aug 2021 16:39:27 +0200 Subject: [PATCH 1/2] Update Pipeline Updated artifact releasing --- .github/workflows/main.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3de0c792..d0b42945 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,10 +29,21 @@ jobs: - run: yarn lint - run: yarn build - run: yarn package + - run: tree build/output + + # Create a zip file from the output folder + - name: Create output zip file + uses: papeloto/action-zip@v1 + with: + files: build/output/ + dest: output.zip # Upload Artifact - name: Upload a Build Artifact - uses: actions/upload-artifact@v2 + uses: "marvinpinto/action-automatic-releases@latest" with: - name: meshtastic-web - path: build/output + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: false + files: | + output.zip From 8dc6ec29b2699757ba616e46cfb50b55aae5eaca Mon Sep 17 00:00:00 2001 From: Patrick762 <80690443+Patrick762@users.noreply.github.com> Date: Sun, 15 Aug 2021 16:46:33 +0200 Subject: [PATCH 2/2] Pipeline update --- .github/workflows/main.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3de0c792..c5c8e314 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,10 +29,22 @@ jobs: - run: yarn lint - run: yarn build - run: yarn package + + - run: tree build/output + + # Create a zip file from the output folder + - name: Create output zip file + uses: papeloto/action-zip@v1 + with: + files: build/output/ + dest: output.zip # Upload Artifact - name: Upload a Build Artifact - uses: actions/upload-artifact@v2 + uses: "marvinpinto/action-automatic-releases@latest" with: - name: meshtastic-web - path: build/output + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: false + files: | + output.zip