Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Aug 22, 2024
1 parent 18db156 commit 755288f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: TestUpload

on:
workflow_dispatch:

jobs:
create_release:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
date: ${{ steps.date.outputs.date }}
steps:
- name: Get the date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TAS }}
with:
tag_name: TAS_${{ steps.date.outputs.date }}
release_name: TAS_${{ steps.date.outputs.date }}
draft: true

test_upload:
needs: create_release
runs-on: ubuntu-latest
steps:
- name: Print upload URL
run: echo "${{ needs.create_release.outputs.upload_url }}"

0 comments on commit 755288f

Please sign in to comment.