Browse Source

actions++

vpenades 1 year ago
parent
commit
f827c94a2d
1 changed files with 24 additions and 0 deletions
  1. 24 0
      .github/workflows/IncrementAlpha.yml

+ 24 - 0
.github/workflows/IncrementAlpha.yml

@@ -0,0 +1,24 @@
+name: Increment Alpha version
+
+on: [ workflow_dispatch, workflow_call ]
+    
+jobs:
+  job_increment:
+    runs-on: ubuntu-latest
+
+    steps:
+
+    - name: Checkout
+      uses: actions/checkout@v4
+
+    - name: Increment variable      
+      uses: action-pack/increment@v2
+      with:
+        name: 'SharpGLTF_AlphaVersion'
+        token: ${{ secrets.VARIABLES_ACCESS }}
+
+    - name: Use the incremented value
+      run: |
+        echo "New version code is ${{ steps.increment.outputs.new_value }}"
+
+