@@ -42,22 +42,22 @@ jobs:
42
42
# configure timezone to avoid 'tzdata' package to require user interaction during installation (needed for ubuntu:focal)
43
43
TZ=Europe/Helsinki ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
44
44
- name : add cppfw deb repo
45
- uses : myci-actions/add-deb-repo@master
45
+ uses : myci-actions/add-deb-repo@main
46
46
with :
47
47
repo : deb https://gagis.hopto.org/repo/cppfw/${{ matrix.os }} ${{ matrix.codename }} main
48
48
repo-name : cppfw
49
49
keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
50
50
install : myci git devscripts equivs
51
51
- name : add llvm repo (for clang-format)
52
- uses : myci-actions/add-deb-repo@master
52
+ uses : myci-actions/add-deb-repo@main
53
53
with :
54
54
repo : deb https://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
55
55
repo-name : llvm
56
56
keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
57
57
- name : git clone
58
- uses : myci-actions/checkout@master
58
+ uses : myci-actions/checkout@main
59
59
- name : set PACKAGE_VERSION
60
- uses : myci-actions/export-env-var@master
60
+ uses : myci-actions/export-env-var@main
61
61
with : {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
62
62
- name : prepare debian package
63
63
run : myci-deb-prepare.sh
86
86
rm -rf /usr/local/bin/python3*
87
87
rm -rf /usr/local/bin/python3*-config
88
88
- name : git clone
89
- uses : myci-actions/checkout@master
89
+ uses : myci-actions/checkout@main
90
90
- name : install clang-tidy and clang-format
91
91
run : |
92
92
brew install llvm
@@ -100,16 +100,16 @@ jobs:
100
100
- name : install ci tools
101
101
run : brew install myci make
102
102
- name : set PATH to use latest make
103
- uses : myci-actions/export-env-var@master
103
+ uses : myci-actions/export-env-var@main
104
104
with : {name: PATH, value: "$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH"}
105
105
- name : set CFLAGS
106
- uses : myci-actions/export-env-var@master
106
+ uses : myci-actions/export-env-var@main
107
107
with : {name: CFLAGS, value: "-isystem $HOMEBREW_PREFIX/include $CFLAGS"}
108
108
- name : set CXXFLAGS
109
- uses : myci-actions/export-env-var@master
109
+ uses : myci-actions/export-env-var@main
110
110
with : {name: CXXFLAGS, value: "-isystem $HOMEBREW_PREFIX/include $CXXFLAGS"}
111
111
- name : set LDFLAGS
112
- uses : myci-actions/export-env-var@master
112
+ uses : myci-actions/export-env-var@main
113
113
with : {name: LDFLAGS, value: "-L $HOMEBREW_PREFIX/lib $LDFLAGS"}
114
114
- name : install deps
115
115
run : myci-brew-install.sh `myci-list-deps-homebrew.sh`
@@ -143,22 +143,22 @@ jobs:
143
143
msys2-devel
144
144
mingw-w64-${{ matrix.arch }}-toolchain
145
145
- name : add cppfw pacman msys repo
146
- uses : myci-actions/add-pacman-repo@master
146
+ uses : myci-actions/add-pacman-repo@main
147
147
with :
148
148
name : cppfw_msys
149
149
url : https://gagis.hopto.org/repo/cppfw/msys2/msys
150
150
shell : ' msys2 {0}'
151
151
key-server : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
152
152
install : myci
153
153
- name : add cppfw pacman msys/mingw repo
154
- uses : myci-actions/add-pacman-repo@master
154
+ uses : myci-actions/add-pacman-repo@main
155
155
with :
156
156
name : cppfw_${{ matrix.repo }}
157
157
url : https://gagis.hopto.org/repo/cppfw/msys2/${{ matrix.repo }}
158
158
shell : ' msys2 {0}'
159
159
key-server : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
160
160
- name : git clone
161
- uses : myci-actions/checkout@master
161
+ uses : myci-actions/checkout@main
162
162
- name : prepare pacman package
163
163
run : myci-apply-version.sh -v $(myci-deb-version.sh debian/changelog) msys2/PKGBUILD.in
164
164
- name : build
@@ -184,7 +184,7 @@ jobs:
184
184
- name : git clone
185
185
uses : actions/checkout@v2
186
186
- name : install CoAPP tools
187
- uses : myci-actions/install-coapp-tools@master
187
+ uses : myci-actions/install-coapp-tools@main
188
188
- name : nuget update
189
189
run : |
190
190
nuget restore msvs_solution/msvs_solution.sln
@@ -194,7 +194,7 @@ jobs:
194
194
- name : build
195
195
run : .\nuget\build_nuget.ps1
196
196
- name : deploy
197
- uses : myci-actions/publish-nuget@master
197
+ uses : myci-actions/publish-nuget@main
198
198
with :
199
199
filename : ' .\nuget\*.nupkg'
200
200
api-key : ${{ secrets.NUGET_DOT_ORG_API_KEY }}
0 commit comments