diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 4c950dd..29010b2 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -3,22 +3,33 @@ name: Application Release on: push: tags: - - "v*" + - "test" jobs: - release: + # release: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - name: Create Release + # id: create_release + # uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + # with: + # tag_name: ${{ github.ref }} + # release_name: ${{ github.ref }} + # body: | + # ## Changelog + # draft: false + # prerelease: false + tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - body: | - ## Changelog - draft: false - prerelease: false + - name: Update v1 tag + id: update_v1_tag + run: | + echo "test" + echo "major_version=v1" >> $GITHUB_OUTPUT + echo "target=release" >> $GITHUB_OUTPUT + + echo ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }} >> $GITHUB_OUTPUT \ No newline at end of file