From fdb59ec183fb6d991b3014a654da071ce579b3bf Mon Sep 17 00:00:00 2001 From: "D. Dessy" Date: Wed, 1 Dec 2021 12:18:31 +0100 Subject: [PATCH] Created tagged workflow --- .github/workflows/tagged.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/tagged.yml b/.github/workflows/tagged.yml index e69de29..817cf19 100644 --- a/.github/workflows/tagged.yml +++ b/.github/workflows/tagged.yml @@ -0,0 +1,33 @@ +--- +name: "tagged-release" + +on: + push: + tags: + - "v*" + +jobs: + tagged-release: + name: "Tagged Release" + runs-on: "ubuntu-latest" + + steps: + # ... + - name: Checkout + uses: actions/checkout@v2 + - name: Build + run: echo ${{ github.sha }} > Release.txt + - name: Test + run: cat Release.txt + - name: Create spl + run: | + cd apps + tar -cvzf ../geomaps.spl geomaps/* + + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + Release.txt + geomaps.spl \ No newline at end of file