ci: fix tag-build

This commit is contained in:
goaaats 2021-10-31 19:53:06 +01:00 committed by GitHub
parent f58a190b13
commit 1b3bd70b41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ concurrency: build_dalamud
jobs: jobs:
tag: tag:
name: Tag Build name: Tag Build
runs-on: ubuntu-latest
steps: steps:
- name: Determine Tag - name: Determine Tag
id: s1 id: s1
@ -17,7 +18,7 @@ jobs:
exit -1; exit -1;
else else
export D_TAG_VERSION=$version; export D_TAG_VERSION=$version;
echo "::set-env name=D_TAG_VERSION::$D_TAG_VERSION"; echo "::set-output name=D_TAG_VERSION::$D_TAG_VERSION";
exit 0; exit 0;
fi fi
- name: Create Tag - name: Create Tag
@ -29,6 +30,6 @@ jobs:
github.git.createRef({ github.git.createRef({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
ref: "refs/tags/${{D_TAG_VERSION}}", ref: "refs/tags/${{steps.s1.outputs.D_TAG_VERSION}}",
sha: context.sha sha: context.sha
}) })