Skip to content

Commit 17bd180

Browse files
authored
Merge pull request #6 from AaronBeier/master
Update zstd.yml to use tags again instead of master
2 parents 9d461da + 828a16e commit 17bd180

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/zstd.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,15 @@ jobs:
2727
repository: facebook/zstd
2828
submodules: recursive
2929

30-
# Disabled because 1.5.6 has an issue with MSVC which has not yet been fixed in a newer Tag, see https://github.com/facebook/zstd/pull/4019
31-
#- name: Checkout latest Tag
32-
# shell: bash
33-
# run: git fetch --tags && git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
30+
- name: Checkout latest Tag
31+
shell: bash
32+
run: git fetch --tags && git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
3433

3534
# we do need the version though
3635
- name: Print Version
3736
id: print-version
3837
shell: bash
39-
run: |
40-
git fetch --tags
41-
echo "version=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_OUTPUT
38+
run: echo "version=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_OUTPUT
4239

4340
- name: Build zstd
4441
shell: bash
@@ -126,4 +123,4 @@ jobs:
126123
VERSION=${{ needs.build.outputs.version }}
127124
VERSION="${VERSION:1}"
128125
dotnet pack ./build/DSharpPlus.Natives.Zstd.csproj -c Release -p:Version="$VERSION.${{ github.run_number }}"
129-
dotnet nuget push "artifacts/**" --skip-duplicate -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json
126+
dotnet nuget push "artifacts/**" --skip-duplicate -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)